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
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.
22
22
- <ahref="https://nodejs.org/"target="_blank">Node.js LTS with TypeScript or ESM support.</a>
23
-
- npm package `@azure/identity` for passwordless authentication or `@azure/core-auth` for service key authentication.
24
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.
25
-
- npm package `@azure/openai-assistants`.
26
24
- 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).
27
25
- 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.
28
26
- An Azure OpenAI resource with the `gpt-4 (1106-preview)` model deployed was used testing this example.
29
-
- Azure OpenAI RBAC role of `Cognitive Services User`.
30
27
31
28
## Passwordless authentication is recommended
32
29
@@ -40,19 +37,21 @@ For passwordless authentication, you need to
40
37
41
38
1. Install the OpenAI Assistants client library for JavaScript with:
42
39
43
-
```console
44
-
npm install @azure/openai-assistants
45
-
```
40
+
```console
41
+
npm install @azure/openai-assistants
42
+
```
46
43
47
-
2.Install one of the following authentication libraries based on your scenario with:
44
+
2. For the **recommended** passwordless authentication:
0 commit comments