You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/openai/includes/language-overview/javascript.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,25 +32,25 @@ The `AzureClientOptions` object is used to configure the API client for interfac
32
32
**Properties**:
33
33
34
34
* azureADTokenProvider:
35
-
Type: (() => Promise<string>) | undefined
35
+
Type: `(() => Promise<string>) | undefined`
36
36
Default: undefined
37
37
Description: A function that returns an access token for Microsoft Entra (formerly known as Azure Active Directory), which will be invoked on every request.
38
38
* apiKey:
39
-
Type: string | undefined
39
+
Type: `string | undefined`
40
40
Default: process.env['AZURE_OPENAI_API_KEY']
41
41
Description: Your API key for authenticating requests.
42
42
* apiVersion:
43
-
Type: string | undefined
43
+
Type: `string | undefined`
44
44
Default: process.env['OPENAI_API_VERSION']
45
45
Description: Specifies the API version to use.
46
46
* deployment:
47
-
Type: string | undefined
47
+
Type: `string | undefined`
48
48
Default: undefined
49
49
Description: A model deployment. If given, sets the base client URL to include /deployments/{deployment}. Note: this means you won't be able to use non-deployment endpoints. Not supported with Assistants APIs.
50
50
* endpoint:
51
-
Type: string | undefined
51
+
Type: `string | undefined`
52
52
Default: undefined
53
-
Description: Your Azure endpoint, including the resource, e.g. https://example-resource.azure.openai.com/.
0 commit comments