Table of Contents

Class ContextKnowledgeSourceRenderGraphResponse

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

Represents the response to the request to render a knowledge source's knowledge graph.

public class ContextKnowledgeSourceRenderGraphResponse : ContextServiceResponse
Inheritance
ContextKnowledgeSourceRenderGraphResponse
Inherited Members
Extension Methods

Properties

Edges

Gets or sets the list of edges in the knowledge graph, where each edge is represented as a list of two node identifiers.

[JsonPropertyName("edges")]
public List<List<string>> Edges { get; set; }

Property Value

List<List<string>>

Nodes

Gets or sets the list of nodes in the knowledge graph.

[JsonPropertyName("nodes")]
public List<KnowledgeGraphRenderingNode> Nodes { get; set; }

Property Value

List<KnowledgeGraphRenderingNode>