← All types
In Input object

OpenAIConfigurationInput

Configuration for OpenAI adapter

Fields

apiKey

StringOptional

OpenAI API key. Optional on update: omit it (or send an empty string) to keep the stored key — it is never readable, so a client has nothing to send back. Required to create an adapter.

Organization ID (optional)

Base URL for custom endpoints (optional)

Default model for chat (optional)

Default model for code (optional)

Default model for completions (optional)

Referenced by (1)
Exact type SDL
"""Configuration for OpenAI adapter"""
input OpenAIConfigurationInput {
  """
  OpenAI API key. Optional on update: omit it (or send an empty string) to keep the stored key — it is never readable, so a client has nothing to send back. Required to create an adapter.
  """
  apiKey: String
  """Organization ID (optional)"""
  organizationId: String
  """Base URL for custom endpoints (optional)"""
  baseURL: String
  """Default model for chat (optional)"""
  defaultChatModel: String
  """Default model for code (optional)"""
  defaultCodeModel: String
  """Default model for completions (optional)"""
  defaultCompletionModel: String
}