Skip to content

OpenAIConfiguration ​

Type: Object

OpenAI adapter configuration as stored, minus the API key. The key is write-only and is reported only by AIAdapterOutput.hasApiKey.

Fields ​

NameTypeArgsDescriptionDeprecated
baseURLStringBase URL requests are sent to. Null means OpenAI's own endpoint; a value points the adapter at a compatible gateway or proxy.
defaultChatModelStringModel used for chat sessions when the caller names none.
defaultCodeModelStringModel used for code sessions when the caller names none.
defaultCompletionModelStringModel used for one-shot completions when the caller names none.
organizationIdStringOpenAI organization ID billed for requests, if one was set.

Connect machines, automate workflows, and build custom apps for print production.