Class: AzureOpenAI
Hierarchy
-
OpenAI
↳
AzureOpenAI
Constructors
constructor
• new AzureOpenAI(«destructured»?
): AzureOpenAI
API Client for interfacing with the OpenAI API.
Parameters
Name | Type |
---|---|
«destructured» | ClientOptions |
Returns
Inherited from
OrigOpenAI.constructor
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:90
Properties
apiKey
• apiKey: string
Inherited from
OrigOpenAI.apiKey
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:73
audio
• audio: Audio
Inherited from
OrigOpenAI.audio
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:96
baseURL
• baseURL: string
Inherited from
OrigOpenAI.baseURL
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/core.d.ts:62
beta
• beta: Beta
Inherited from
OrigOpenAI.beta
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:100
chat
• chat: Chat
Inherited from
OrigOpenAI.chat
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:92
completions
• completions: Completions
Inherited from
OrigOpenAI.completions
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:91
embeddings
• embeddings: Embeddings
Inherited from
OrigOpenAI.embeddings
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:93
files
• files: Files
Inherited from
OrigOpenAI.files
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:94
fineTuning
• fineTuning: FineTuning
Inherited from
OrigOpenAI.fineTuning
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:99
httpAgent
• httpAgent: undefined
| Agent
Inherited from
OrigOpenAI.httpAgent
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/core.d.ts:65
idempotencyHeader
• Protected
Optional
idempotencyHeader: string
Inherited from
OrigOpenAI.idempotencyHeader
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/core.d.ts:67
images
• images: Images
Inherited from
OrigOpenAI.images
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:95
maxRetries
• maxRetries: number
Inherited from
OrigOpenAI.maxRetries
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/core.d.ts:63
models
• models: Models
Inherited from
OrigOpenAI.models
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:98
moderations
• moderations: Moderations
Inherited from
OrigOpenAI.moderations
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:97
organization
• organization: null
| string
Inherited from
OrigOpenAI.organization
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/index.d.mts:74
timeout
• timeout: number
Inherited from
OrigOpenAI.timeout
Defined in
node_modules/.pnpm/openai@4.26.1/node_modules/openai/core.d.ts:64
APIConnectionError
▪ Static
APIConnectionError: typeof APIConnectionError