Package: @effect/ai-openai
Module: OpenAiClientGenerated
Options for configuring the generated OpenAI client.
Signature
type Options = {
/**
* The OpenAI API key.
*/
readonly apiKey?: Redacted.Redacted<string> | undefined
/**
* The base URL for the OpenAI API.
*
* @default "https://api.openai.com/v1"
*/
readonly apiUrl?: string | undefined
/**
* Optional organization ID for multi-org accounts.
*/
readonly organizationId?: Redacted.Redacted<string> | undefined
/**
* Optional project ID for project-scoped requests.
*/
readonly projectId?: Redacted.Redacted<string> | undefined
/**
* Optional transformer for the HTTP client.
*/
readonly transformClient?: ((client: HttpClient.HttpClient) => HttpClient.HttpClient) | undefined
}
Since v4.0.0