Table of Contents

Class ContextKnowledgeSourceUpdateRequest

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

Represents a request to update a knowledge source in the FoundationaLLM Context API.

public class ContextKnowledgeSourceUpdateRequest
Inheritance
ContextKnowledgeSourceUpdateRequest
Inherited Members
Extension Methods

Properties

EmbeddingDimensions

Gets or sets the number of dimensions for the embeddings used in the knowledge source.

[JsonPropertyName("embedding_dimensions")]
public required int EmbeddingDimensions { get; set; }

Property Value

int

EmbeddingModel

Gets or sets the embedding model used for the knowledge source.

[JsonPropertyName("embedding_model")]
public required string EmbeddingModel { get; set; }

Property Value

string

EntitiesSourceFilePath

Gets or sets the path of the source file containing the entities for the knowledge graph.

[JsonPropertyName("entities_source_file_path")]
public string? EntitiesSourceFilePath { get; set; }

Property Value

string

RelationshipsSourceFilePath

Gets or sets the path of the source file containing the relationships for the knowledge graph.

[JsonPropertyName("relationships_source_file_path")]
public string? RelationshipsSourceFilePath { get; set; }

Property Value

string

VectorDatabaseObjectId

Gets or sets the object identifier of the vector database associated with the knowledge source.

[JsonPropertyName("vector_database_object_id")]
public required string VectorDatabaseObjectId { get; set; }

Property Value

string

VectorStoreId

Gets or sets the object identifier of the vector store associated with the knowledge source.

[JsonPropertyName("vector_store_id")]
public string? VectorStoreId { get; set; }

Property Value

string