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.38.5/node_modules/openai/index.d.mts:96
Properties
apiKey
• apiKey: string
Inherited from
OrigOpenAI.apiKey
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:77
audio
• audio: Audio
Inherited from
OrigOpenAI.audio
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:102
baseURL
• baseURL: string
Inherited from
OrigOpenAI.baseURL
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/core.d.ts:62
batches
• batches: Batches
Inherited from
OrigOpenAI.batches
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:107
beta
• beta: Beta
Inherited from
OrigOpenAI.beta
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:106
chat
• chat: Chat
Inherited from
OrigOpenAI.chat
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:98
completions
• completions: Completions
Inherited from
OrigOpenAI.completions
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:97
embeddings
• embeddings: Embeddings
Inherited from
OrigOpenAI.embeddings
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:99
files
• files: Files
Inherited from
OrigOpenAI.files
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:100
fineTuning
• fineTuning: FineTuning
Inherited from
OrigOpenAI.fineTuning
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:105
httpAgent
• httpAgent: undefined
| Agent
Inherited from
OrigOpenAI.httpAgent
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/core.d.ts:65
idempotencyHeader
• Protected
Optional
idempotencyHeader: string
Inherited from
OrigOpenAI.idempotencyHeader
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/core.d.ts:67
images
• images: Images
Inherited from
OrigOpenAI.images
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:101
maxRetries
• maxRetries: number
Inherited from
OrigOpenAI.maxRetries
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/core.d.ts:63
models
• models: Models
Inherited from
OrigOpenAI.models
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:104
moderations
• moderations: Moderations
Inherited from
OrigOpenAI.moderations
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:103
organization
• organization: null
| string
Inherited from
OrigOpenAI.organization
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:78
project
• project: null
| string
Inherited from
OrigOpenAI.project
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:79
timeout
• timeout: number
Inherited from
OrigOpenAI.timeout
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/core.d.ts:64
APIConnectionError
▪ Static
APIConnectionError: typeof APIConnectionError
Inherited from
OrigOpenAI.APIConnectionError
Defined in
node_modules/.pnpm/openai@4.38.5/node_modules/openai/index.d.mts:114
APIConnectionTimeoutError
▪ Static
APIConnectionTimeoutError: typeof APIConnectionTimeoutError