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

Properties

Description

Gets or sets the detailed description of the relationship.

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

Property Value

string

ShortDescription

Gets or sets the short description of the relationship.

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

Property Value

string

Source

Gets or sets the source entity of the relationship.

[JsonPropertyName("source")]
public required 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 required string Target { get; set; }

Property Value

string