Table of Contents

Class ExtractedKnowledgeRelationship

Namespace
FoundationaLLM.Common.Models.Knowledge
Assembly
FoundationaLLM.Common.dll

Represents an extracted relationship from a knowledge extraction process.

public class ExtractedKnowledgeRelationship
Inheritance
ExtractedKnowledgeRelationship
Inherited Members
Extension Methods

Constructors

ExtractedKnowledgeRelationship()

Initializes a new instance of the ExtractedKnowledgeRelationship class.

public ExtractedKnowledgeRelationship()

Properties

Description

Gets or sets the detailed description of the relationship.

[JsonPropertyName("description")]
public string Description { get; set; }

Property Value

string

ShortDescription

Gets or sets the short description of the relationship.

[JsonPropertyName("short_description")]
public string ShortDescription { get; set; }

Property Value

string

Source

Gets or sets the source entity of the relationship.

[JsonPropertyName("source")]
public string Source { get; set; }

Property Value

string

Strength

Gets or sets the strength of the relationship.

[JsonPropertyName("strength")]
public int Strength { get; set; }

Property Value

int

Target

Gets or sets the target entity of the relationship.

[JsonPropertyName("target")]
public string Target { get; set; }

Property Value

string