Class AgentTextRewriteSettings
- Namespace
- FoundationaLLM.Common.Models.ResourceProviders.Agent
- Assembly
- FoundationaLLM.Common.dll
Provides agent-related text rewrite settings.
public class AgentTextRewriteSettings
- Inheritance
-
AgentTextRewriteSettings
- Inherited Members
- Extension Methods
Properties
UserPromptRewriteEnabled
Gets or sets a value indicating whether user prompt rewrite is enabled for the agent.
[JsonPropertyName("user_prompt_rewrite_enabled")]
public bool UserPromptRewriteEnabled { get; set; }
Property Value
Remarks
When enabled, the agent's semantic cache settings are provided in UserPromptRewriteSettings.
UserPromptRewriteSettings
Gets or sets the agent's semantic cache settings.
[JsonPropertyName("user_prompt_rewrite_settings")]
public AgentUserPromptRewriteSettings? UserPromptRewriteSettings { get; set; }
Property Value
Remarks
The values in this property are only valid when UserPromptRewriteEnabled is true.