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/assistants-javascript.md
+35-13Lines changed: 35 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,9 @@ ms.date: 04/08/2024
19
19
20
20
Currently, access to this service is granted only by application. You can apply for access to Azure OpenAI by completing the form at <ahref="https://aka.ms/oai/access"target="_blank">https://aka.ms/oai/access</a>. Open an issue on this repo to contact us if you have an issue.
21
21
- <ahref="https://nodejs.org/"target="_blank">Node.js LTS with TypeScript or ESM support.</a>
22
-
- npm package `@azure/identity` for passwordless authentication or `@azure/core-auth` for service key authentication
23
-
- npm package `@azure/openai-assistants`
22
+
- npm package `@azure/identity` for passwordless authentication or `@azure/core-auth` for service key authentication.
23
+
-[Azure CLI](/cli/azure/install-azure-cli) used for passwordless authentication in a local development environment, create the necessary context by signing in with the Azure CLI.
24
+
- npm package `@azure/openai-assistants`.
24
25
- Azure OpenAI Assistants are currently available in Sweden Central, East US 2, and Australia East. For more information about model availability in those regions, see the [models guide](../concepts/models.md).
25
26
- We recommend reviewing the [Responsible AI transparency note](/legal/cognitive-services/openai/transparency-note?context=%2Fazure%2Fai-services%2Fopenai%2Fcontext%2Fcontext&tabs=text) and other [Responsible AI resources](/legal/cognitive-services/openai/overview?context=%2Fazure%2Fai-services%2Fopenai%2Fcontext%2Fcontext) to familiarize yourself with the capabilities and limitations of the Azure OpenAI Service.
26
27
- An Azure OpenAI resource with the `gpt-4 (1106-preview)` model deployed was used testing this example.
@@ -61,6 +62,30 @@ Create and assign persistent environment variables for your key and endpoint.
In our code we are going to specify the following values:
@@ -76,27 +101,24 @@ In our code we are going to specify the following values:
76
101
77
102
An individual assistant can access up to 128 tools including `code interpreter`, as well as any custom tools you create via [functions](../how-to/assistant-functions.md).
0 commit comments