Class ContextKnowledgeGraphResponse
- Namespace
- FoundationaLLM.Common.Models.Context.Knowledge
- Assembly
- FoundationaLLM.Common.dll
Represents the result of a knowledge graph query.
public class ContextKnowledgeGraphResponse
- Inheritance
-
ContextKnowledgeGraphResponse
- Inherited Members
- Extension Methods
Properties
Entities
Gets or sets the list of knowledge entities that most similar to the user prompt in the query.
[JsonPropertyName("entities")]
public List<KnowledgeEntity> Entities { get; set; }
Property Value
RelatedEntities
Gets or sets the list of knowledge entities that are related to the ones in Entities and are most similar to the user prompt in the query.
[JsonPropertyName("related_entities")]
public List<KnowledgeEntity> RelatedEntities { get; set; }
Property Value
Relationships
Gets or sets the list of knowledge relationsips that exist between entities in Entities and entities in RelatedEntities.
[JsonPropertyName("relationships")]
public List<KnowledgeRelationship> Relationships { get; set; }