Table of Contents

TTMSFNCCloudAISettings Class

Stores model, generation, endpoint, and feature settings for AI requests.

API unit family: TMSFNCCloudAI Inherits from: TPersistent

Syntax

TTMSFNCCloudAISettings = class(TPersistent)

Properties

Name Description
CacheControl Gets or sets the cache_control setting for Claude.
ClaudeModel Gets or sets the model name used for Claude requests.
CustomOptions Gets or sets additional service-specific JSON options.
DeepSeekModel Gets or sets the model name used for DeepSeek requests.
GeminiModel Gets or sets the model name used for Gemini requests.
GrokModel Gets or sets the model name used for Grok requests.
LlamaCppHost Gets or sets the llama.cpp server host.
LlamaCppModel Gets or sets the model name used for llama.cpp requests.
LlamaCppPath Gets or sets the llama.cpp API path.
LlamaCppPort Gets or sets the llama.cpp server port.
MaxTokens Gets or sets the maximum number of tokens requested for a response.
MistralModel Gets or sets the model name used for Mistral text requests.
MistralTranscribeModel Gets or sets the model name used for Mistral audio transcription.
OllamaHost Gets or sets the Ollama server host.
OllamaModel Gets or sets the model name used for Ollama requests.
OllamaPath Gets or sets the Ollama API path.
OllamaPort Gets or sets the Ollama server port.
OpenAIModel Gets or sets the model name used for OpenAI text requests.
OpenAIServers Gets or sets the OpenAI endpoint family.
OpenAISoundModel Gets or sets the model name used for OpenAI speech generation.
OpenAITranscribeModel Gets or sets the model name used for OpenAI audio transcription.
ParallelToolExecution Gets or sets whether supported services may execute tool calls in parallel.
PerplexityModel Gets or sets the model name used for Perplexity requests.
Reasoning Gets or sets the requested reasoning effort.
Temperature Gets or sets the randomness used for generated responses.
UseTemperature Gets or sets whether the temperature is used to send to the LLM.
WebSearch Gets or sets whether supported services may include web search in the request.

Methods

Name Description
LoadFromFile Loads the settings from a file.
SaveToFile Saves the settings to a file.