TsgcAIOpenAIChatBotProperties › OpenAIOptions

OpenAIOptions Property

OpenAI API credentials and logging (ApiKey, Organization, LogOptions) shared by Whisper, ChatCompletion and Embeddings calls.

Syntax

__property TsgcHTTPOpenAI_Options * OpenAIOptions;

Default Value

Remarks

Holds the credentials and log settings used for every REST call made by the ChatBot. ApiKey is mandatory; Organization is optional. When LogOptions.Enabled is true every request/response is appended to LogOptions.FileName, which helps diagnose Whisper, ChatCompletion and Embeddings calls without extra plumbing.

Example

Back to Properties