Table of Contents

Class ContextKnowledgeUnitVectorStoreFilter

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

Represents a vector store filter for knowledge units.

public class ContextKnowledgeUnitVectorStoreFilter
Inheritance
ContextKnowledgeUnitVectorStoreFilter
Inherited Members
Extension Methods

Properties

KnowledgeUnitId

Gets or sets the identifier of the knowledge unit to query.

[JsonPropertyName("knowledge_unit_id")]
public required string KnowledgeUnitId { get; set; }

Property Value

string

VectorStoreId

Gets or sets the vector store identifier used to query the knowledge unit.

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

Property Value

string

Remarks

This value is used only when the knowledge unit does not have a static vector store identier set.

VectorStoreMetadataFilter

Gets or sets the metadata filter used to provide additional filtering in the vector store queries.

[JsonPropertyName("vector_store_metadata_filter")]
public Dictionary<string, object>? VectorStoreMetadataFilter { get; set; }

Property Value

Dictionary<string, object>