AgentPrismKnowledgeOptions
AgentPrism.Core.dllOptions for the knowledge base (semantic search).
public sealed class AgentPrismKnowledgeOptionsInheritance
Section titled “Inheritance”object ← AgentPrismKnowledgeOptions
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”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.
Constructors
Section titled “Constructors”AgentPrismKnowledgeOptions()
Section titled “ AgentPrismKnowledgeOptions()”public AgentPrismKnowledgeOptions()Fields
Section titled “Fields”SectionName
Section titled “ SectionName”The configuration section name.
public const string SectionName = "AgentPrism:Knowledge"Field Value
Section titled “Field Value”Properties
Section titled “Properties”ChunkOverlap
Section titled “ ChunkOverlap”The overlap length between consecutive chunks, in characters.
public int ChunkOverlap { get; set; }Property Value
Section titled “Property Value”ChunkSize
Section titled “ ChunkSize”The chunk length in characters.
public int ChunkSize { get; set; }Property Value
Section titled “Property Value”Dimensions
Section titled “ Dimensions”The embedding dimensions. They are fixed with the schema. Changing them invalidates all embeddings.
public int Dimensions { get; set; }Property Value
Section titled “Property Value”MaxResults
Section titled “ MaxResults”The maximum number of results returned by the search_knowledge tool.
public int MaxResults { get; set; }