Skip to content

Commit b1204f1

Browse files
author
Maryanne Gichohi
committed
Add README.md
1 parent 1950057 commit b1204f1

1 file changed

Lines changed: 59 additions & 0 deletions

File tree

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Azure App Configuration - AI Agent chat application
2+
3+
This sample demonstrates using Azure App Configuration to load agent YAML specifications that define AI agent behavior, prompts, and model configurations for a chat application.
4+
5+
## Features
6+
7+
- Integrates with Azure AI Agent Framework to create a conversational AI agent
8+
- Loads agent YAML specifications from Azure App Configuration.
9+
10+
## Prerequisites
11+
12+
- Python 3.8 or later
13+
- An Azure subscription with access to:
14+
- Azure App Configuration service
15+
- Microsoft Foundry project
16+
- Required environment variables:
17+
- `AZURE_APPCONFIGURATION_ENDPOINT`: Endpoint URL of your Azure App Configuration instance
18+
19+
## Setup
20+
21+
1. Clone the repository
22+
1. Install the required packages:
23+
24+
```bash
25+
pip install -r requirements.txt
26+
```
27+
28+
1. Configure your Azure App Configuration store with the agent YAML specification:
29+
30+
```yaml
31+
kind: Prompt
32+
name: WeatherAgent
33+
description: Weather Agent
34+
instructions: You are a helpful assistant.
35+
model:
36+
id: gpt-4.1
37+
connection:
38+
kind: remote
39+
```
40+
41+
1. Configure your Azure App Configuration store with project endpoint:
42+
43+
```console
44+
Agent:ProjectEndpoint - Your Foundry project endpoint
45+
```
46+
47+
1. Set the required environment variables:
48+
49+
```bash
50+
export AZURE_APPCONFIGURATION_ENDPOINT="https://your-appconfig.azconfig.io"
51+
```
52+
53+
## Running the Application
54+
55+
Start the console application:
56+
57+
```bash
58+
python app.py
59+
```

0 commit comments

Comments
 (0)