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
{{ message }}
Repository navigation
Commit 6d0de36
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/CONFIGURATION.md
+11-14Lines changed: 11 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,8 +35,6 @@ data_agents:
35
35
blocked_functions:
36
36
- pg_sleep
37
37
- pg_read_file
38
-
code_interpreter:
39
-
enabled: true
40
38
system_prompt: |
41
39
You are an SQL assistant...
42
40
{schema_context}
@@ -58,22 +56,21 @@ data_agents:
58
56
59
57
## Code Interpreter (Data Visualization)
60
58
61
-
Enable the code interpreter to generate charts and visualizations from query results. When enabled, the LLM can detect visualization intent (e.g., "show me a chart", "visualize", "plot") and generate matplotlib code to create charts.
59
+
The data agent can generate charts and visualizations from query results. When the LLM detects visualization intent (e.g., "show me a chart", "visualize", "plot"), it generates matplotlib code to create charts.
Follow the [Azure Container Apps Dynamic Sessions with LangChain tutorial](https://learn.microsoft.com/en-us/azure/container-apps/sessions-tutorial-langchain) to:
31
31
32
-
If you don't already have one:
32
+
1. Create a Container Apps session pool
33
+
2. Get the pool management endpoint
34
+
3. Assign the `Azure ContainerApps Session Executor` role to your identity
33
35
34
-
```bash
35
-
az containerapp env create \
36
-
--name aca-env \
37
-
--resource-group rg-data-agent \
38
-
--location eastus
39
-
```
40
-
41
-
### 2. Create the Session Pool
42
-
43
-
```bash
44
-
az containerapp sessionpool create \
45
-
--name session-pool-viz \
46
-
--resource-group rg-data-agent \
47
-
--container-type PythonLTS \
48
-
--max-sessions 100 \
49
-
--cooldown-period 300 \
50
-
--location eastus
51
-
```
52
-
53
-
**Parameters:**
54
-
-`--container-type PythonLTS`: Python runtime with common data science packages
55
-
-`--max-sessions`: Maximum concurrent sessions
56
-
-`--cooldown-period`: Seconds before idle session is terminated
0 commit comments