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/agents/includes/quickstart-javascript.md
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,11 +31,18 @@ ms.custom: devx-track-js
31
31
| Run | Activation of an agent to begin running based on the contents of Thread. The agent uses its configuration and Thread’s Messages to perform tasks by calling models and tools. As part of a Run, the agent appends Messages to the Thread. |
32
32
| Run Step | A detailed list of steps the agent took as part of a Run. An agent can call tools or create Messages during its run. Examining Run Steps allows you to understand how the agent is getting to its results. |
33
33
34
-
Run the following commands to install the npm packages.
34
+
First, initialize a new project by running:
35
+
36
+
```console
37
+
npm init -y
38
+
```
39
+
40
+
Run the following commands to install the npm packages required.
35
41
36
42
```console
37
43
npm install @azure/ai-projects
38
44
npm install @azure/identity
45
+
npm install dotenv
39
46
```
40
47
41
48
Next, to authenticate your API requests and run the program, use the [az login](/cli/azure/authenticate-azure-cli-interactively) command to sign into your Azure subscription.
@@ -60,7 +67,9 @@ For example, your connection string may look something like:
0 commit comments