Class ContextKnowledgeGraphQuery
- Namespace
- FoundationaLLM.Common.Models.Context.Knowledge
- Assembly
- FoundationaLLM.Common.dll
Represents a request to query a knowledge graph.
public class ContextKnowledgeGraphQuery
- Inheritance
-
ContextKnowledgeGraphQuery
- Inherited Members
- Extension Methods
Properties
AllEntitiesMaxCount
Gets or sets the maximum number of entities returned in the response.
[JsonPropertyName("all_entities_max_count")]
public int AllEntitiesMaxCount { get; set; }
Property Value
Remarks
This includes both entities that were mapped directly and entities that were retrieved by navigating relationships.
MappedEntitiesMaxCount
Gets or sets the maximum number of mapped entities included in the query result.
[JsonPropertyName("mapped_entities_max_count")]
public int MappedEntitiesMaxCount { get; set; }
Property Value
Remarks
These are entities directly mapped based on the similarity between their summary description an the user prompt.
MappedEntitiesSimilarityThreshold
Gets or sets the minimum threshold used to match entities based on the similarity between their summary description and the user prompt.
[JsonPropertyName("mapped_entities_similarity_threshold")]
public float MappedEntitiesSimilarityThreshold { get; set; }
Property Value
RelationshipsMaxDepth
Gets or sets the maximum depth allowed when navigating relationships.
[JsonPropertyName("relationships_max_depth")]
public int RelationshipsMaxDepth { get; set; }