Table of Contents

Class AgentSemanticCacheSettings

Namespace
FoundationaLLM.Common.Models.ResourceProviders.Agent
Assembly
FoundationaLLM.Common.dll

Provides agent-related cache settings for the semantic cache.

public class AgentSemanticCacheSettings
Inheritance
AgentSemanticCacheSettings
Inherited Members
Extension Methods

Properties

EmbeddingAIModelObjectId

Gets or sets the object identifier of the AI model to use for the embedding.

[JsonPropertyName("embedding_ai_model_object_id")]
public required string EmbeddingAIModelObjectId { get; set; }

Property Value

string

EmbeddingDimensions

Gets or sets the number of dimensions to use for the embedding.

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

Property Value

int

MinimumSimilarityThreshold

Gets or sets the minimum similarity threshold for the semantic cache.

[JsonPropertyName("minimum_similarity_threshold")]
public decimal MinimumSimilarityThreshold { get; set; }

Property Value

decimal

Remarks

This value determines the minimum similarity between the current conversation context and the context of the item in the cache for the item to be considered a match.