Table of Contents

Class ContextKnowledgeSourceQueryResponse

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

Represents the result of a knowledge source query.

public class ContextKnowledgeSourceQueryResponse : ContextServiceResponse
Inheritance
ContextKnowledgeSourceQueryResponse
Inherited Members
Extension Methods

Properties

ContentReferences

Gets or sets the content references associated with the query response.

[JsonPropertyName("content_references")]
public List<Dictionary<string, object>>? ContentReferences { get; set; }

Property Value

List<Dictionary<string, object>>

KnowledgeGraphResponse

Gets or sets the response from the knowledge graph query.

[JsonPropertyName("knowledge_graph_response")]
public ContextKnowledgeGraphResponse? KnowledgeGraphResponse { get; set; }

Property Value

ContextKnowledgeGraphResponse

Source

Gets or sets the source of the response..

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

Property Value

string

TextResponse

Gets or sets the formatted text response.

[JsonPropertyName("text_response")]
public string? TextResponse { get; set; }

Property Value

string

VectorStoreResponse

Gets or sets the response from the vector store query.

[JsonPropertyName("vector_store_response")]
public ContextVectorStoreResponse? VectorStoreResponse { get; set; }

Property Value

ContextVectorStoreResponse