Skip to content

Commit 32ec666

Browse files
authored
AI Agents (#1034)
1 parent a4f6b37 commit 32ec666

File tree

13 files changed

+1647
-1
lines changed

13 files changed

+1647
-1
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,4 +411,7 @@ FodyWeavers.xsd
411411

412412
.DS_Store
413413
**/.DS_Store
414-
**/.eslintcache
414+
**/.eslintcache
415+
416+
**/credential.yml
417+
**/credential.yaml

quickstarts/ai-agents/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Azure AI Agents quickstarts
2+
3+
Azure AI Agent Service allows you to create AI agents tailored to your needs through custom instructions and augmented by advanced tools like code interpreter, and custom functions.
4+
5+
* [Quickstart documentation](https://learn.microsoft.com/azure/ai-services/agents/quickstart?pivots=programming-language-typescript)
6+
* [Reference documentation](https://learn.microsoft.com/en-us/javascript/api/@azure/ai-projects/?view=azure-node-preview)
7+
* [@azure/ai-projects](https://www.npmjs.com/package/@azure/ai-projects)
8+
9+
## Use the quickstarts
10+
11+
1. Verify the [prerequisites](https://learn.microsoft.com/azure/ai-services/agents/quickstart?pivots=programming-language-typescript#prerequisites).
12+
1. Create resources, as documented in the quickstart. We recommend [Deploy to Azure](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure-Samples%2Fazureai-samples%2Fmain%2Fscenarios%2FAgents%2Fsetup%2Fbasic-agent-identity%2Fazuredeploy.json) to create the resources. Be aware some fields are empty in the deployment template because they are optional.
13+
1. Rename `sample.env` to `.env` and set your AI project connection string.
14+
1. In the terminal go to either the JS or TS subfolder.
15+
16+
```bash
17+
npm install
18+
npm start
19+
20+
21+
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Type: text
2+
Text: Sure, I can help you solve the equation \(3x + 11 = 14\).
3+
4+
To solve for \(x\), we need to isolate \(x\) on one side of the equation. Here are the steps:
5+
6+
1. Subtract 11 from both sides of the equation:
7+
\[3x + 11 - 11 = 14 - 11\]
8+
\[3x = 3\]
9+
10+
2. Divide both sides of the equation by 3:
11+
\[\frac{3x}{3} = \frac{3}{3}\]
12+
\[x = 1\]
13+
14+
So the solution to the equation \(3x + 11 = 14\) is \(x = 1\).
15+
Type: text
16+
Text: I need to solve the equation `3x + 11 = 14`. Can you help me?

0 commit comments

Comments
 (0)