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: examples/Python/ChatApp/README.md
+5-11Lines changed: 5 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,13 @@
1
1
# Azure App Configuration - Python ChatApp Sample
2
2
3
-
This sample demonstrates using Azure App Configuration to configure Azure OpenAI settings for a chat application built with Python and Flask.
3
+
This sample demonstrates using Azure App Configuration to configure Azure OpenAI settings for a chat application built with Python.
4
4
5
5
## Features
6
6
7
-
- Built with Python and Flask
7
+
- Built with Python
8
8
- Uses azure-appconfiguration-provider for configuration management
9
9
- Integrates with Azure OpenAI for chat completions
10
10
- Dynamically refreshes configuration from Azure App Configuration
11
-
- Supports both web interface and console-like views
12
11
13
12
## Prerequisites
14
13
@@ -49,18 +48,13 @@ This sample demonstrates using Azure App Configuration to configure Azure OpenAI
49
48
50
49
## Running the Application
51
50
52
-
Start the Flask application:
51
+
Start the console application:
53
52
```bash
54
53
python app.py
55
54
```
56
55
57
-
The application will be available at http://localhost:5000/
58
-
59
-
## Views
60
-
61
-
-**Chat Interface** (/) - A web interface for chatting with the AI
62
-
-**Console Mode** (/console) - A view that mimics the .NET Core console application experience
56
+
The application will display the configured messages and the AI's response. Press Enter to continue and refresh the configuration from Azure App Configuration.
63
57
64
58
## Configuration Refresh
65
59
66
-
The application refreshes the configuration on each request, so any changes made in Azure App Configuration will be reflected immediately in the app.
60
+
The application refreshes the configuration on each loop iteration, so any changes made in Azure App Configuration will be reflected in the next response after you press Enter.
0 commit comments