Skip to content

Commit b064537

Browse files
authored
Merge pull request #2530 from aahill/foundry-docs-2
Foundry docs update
2 parents 0a5544b + d458570 commit b064537

File tree

5 files changed

+12
-41
lines changed

5 files changed

+12
-41
lines changed

articles/ai-services/agents/concepts/model-region-support.md

Lines changed: 6 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: aahill
77
ms.author: aahi
88
ms.service: azure-ai-agent-service
99
ms.topic: conceptual
10-
ms.date: 01/07/2025
10+
ms.date: 01/27/2025
1111
ms.custom: azure-ai-agents
1212
---
1313

@@ -33,48 +33,19 @@ Azure AI Agent Service supports the same models as the chat completions API in A
3333
| westus3 |||| - || - || - | - | - || - |
3434

3535

36-
## More models
36+
## Non-Microsoft models
3737

3838
The Azure AI Agent Service also supports the following models from the Azure AI Foundry model catalog.
3939

4040
* Llama 3.1-70B-instruct
4141
* Mistral-large-2407
4242
* Cohere command R+
4343

44-
To use these models, you can use Azure AI Foundry portal to make a deployment, and then reference it in your agent.
45-
46-
1. Go to the [Azure AI Foundry portal](https://ai.azure.com/) and select **Model catalog** in the left navigation menu, and scroll down to **Meta-Llama-3-70B-Instruct**. You can also find and use one of the models listed previously.
47-
48-
1. Select **Deploy**.
49-
50-
1. In the Deployment options screen that appears, select **Serverless API** with Azure AI Content Safety.
51-
52-
:::image type="content" source="../media/llama/llama-deployment.png" alt-text="An image of the llama model project selection screen.":::
53-
54-
1. Select your project and then select **Subscribe and deploy**.
55-
56-
:::image type="content" source="../media/llama/llama-deployment-2.png" alt-text="An image of the llama model deployment screen.":::
57-
58-
1. Add the serverless connection to your hub/project. The deployment name you choose is the one that you reference in your code.
59-
60-
1. When calling agent creation API, set the `models` parameter to your deployment name. For example:
61-
62-
# [Python](#tab/python)
63-
64-
```python
65-
agent = project_client.agents.create_agent( model="llama-3", name="my-agent", instructions="You are a helpful agent" )
66-
```
67-
68-
# [C#](#tab/csharp)
69-
70-
```csharp
71-
Response<Agent> agentResponse = await client.CreateAgentAsync(
72-
model: "llama-3",
73-
name: "My agent",
74-
instructions: "You are a helpful agent"
75-
```
76-
---
44+
To use these models, you can use Azure AI Foundry portal to make a deployment, and then reference the deployment name in your agent. For example:
7745

46+
```python
47+
agent = project_client.agents.create_agent( model="llama-3", name="my-agent", instructions="You are a helpful agent" )
48+
```
7849

7950
## Next steps
8051

articles/ai-services/agents/how-to/tools/openapi-spec.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ work together, generate client code, create tests, apply design standards, and m
3535

3636
## Authenticating with API Key
3737

38-
1. Verify that the OpenAPI spec supports API keys: it has `securitySchemes` section and has one scheme of type `apiKey". An example would be:
38+
1. Verify that the OpenAPI spec supports API keys: it has `securitySchemes` section and has one scheme of type `apiKey`. For example:
3939
```json
4040
"securitySchemes": {
4141
"apiKeyHeader": {
@@ -56,7 +56,7 @@ work together, generate client code, create tests, apply design standards, and m
5656

5757
1. Select **+ new connection** in the settings page.
5858
>[!NOTE]
59-
> If you re-generate the API key at a later date, you need to update the connection with the new key.
59+
> If you regenerate the API key at a later date, you need to update the connection with the new key.
6060
6161
:::image type="content" source="../../media/tools/bing/project-connections.png" alt-text="A screenshot of the connections screen for the AI project." lightbox="../../media/tools/bing/project-connections.png":::
6262

@@ -138,7 +138,7 @@ public partial class Sample_Agent_OpenAPI : SamplesBase<AIProjectsTestEnvironmen
138138
---
139139

140140
## Step 2: Enable the OpenAPI Spec tool
141-
You might want to store the OpenAPI specification in another file and import the content to initialize the tool. Please note the sample code is using `anonymous` as authentication type.
141+
You might want to store the OpenAPI specification in another file and import the content to initialize the tool. Note the sample code is using `anonymous` as authentication type.
142142

143143
# [Python](#tab/python)
144144

@@ -187,7 +187,7 @@ An example of the audience would be ```https://cognitiveservices.azure.com/```.
187187
# Create agent with OpenAPI tool and process assistant run
188188
with project_client:
189189
agent = project_client.agents.create_agent(
190-
model="gpt-4o-mini",
190+
model="gpt-4o",
191191
name="my-assistant",
192192
instructions="You are a helpful assistant",
193193
tools=openapi.definitions
@@ -201,7 +201,7 @@ with project_client:
201201
# [C#](#tab/csharp)
202202
```csharp
203203
Response<Agent> agentResponse = await client.CreateAgentAsync(
204-
model: "gpt-4",
204+
model: "gpt-4o",
205205
name: "azure-function-agent-foo",
206206
instructions: "You are a helpful assistant.",
207207
tools: new List<ToolDefinition> { openapiTool }
Binary file not shown.
Binary file not shown.

articles/ai-services/agents/whats-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This article provides a summary of the latest releases and major documentation u
2222
Azure AI Service is now available in preview. The service builds off of the [Assistants API](../openai/how-to/assistant.md) in Azure OpenAI, and offers several additional features, such as:
2323

2424
* Several [additional tools](./how-to/tools/overview.md) to enhance your AI agents' functionality, such as the ability to use Bing and as a knowledge source and call functions.
25-
* The ability to use non Azure OpenAI [models](./concepts/model-region-support.md#more-models):
25+
* The ability to use non Azure OpenAI [models](./concepts/model-region-support.md):
2626
* Llama 3.1-70B-instruct
2727
* Mistral-large-2407
2828
* Cohere command R+

0 commit comments

Comments
 (0)