Skip to content

AgentPrismKnowledgeOptions

Namespace AgentPrism · Assembly AgentPrism.Core.dll

Options for the knowledge base (semantic search).

public sealed class AgentPrismKnowledgeOptions

objectAgentPrismKnowledgeOptions

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Reads values from the AgentPrism:Knowledge configuration section. It does not require a separate Use... call, for the same reason as scheduling and quotas. It becomes functional only when IVectorSearchStore and IEmbeddingGenerator are registered.

public AgentPrismKnowledgeOptions()

The configuration section name.

public const string SectionName = "AgentPrism:Knowledge"

string

The overlap length between consecutive chunks, in characters.

public int ChunkOverlap { get; set; }

int

The chunk length in characters.

public int ChunkSize { get; set; }

int

The embedding dimensions. They are fixed with the schema. Changing them invalidates all embeddings.

public int Dimensions { get; set; }

int

The maximum number of results returned by the search_knowledge tool.

public int MaxResults { get; set; }

int