mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Rag sample ready
This commit is contained in:
+1
@@ -5,3 +5,4 @@ __pycache__
|
||||
*.pyd
|
||||
.Python
|
||||
.env
|
||||
provision_index.py
|
||||
|
||||
+2
@@ -181,4 +181,6 @@ azd env set AZURE_SEARCH_ENDPOINT "https://<your-search>.search.windows.net"
|
||||
azd env set AZURE_SEARCH_INDEX_NAME "contoso-outdoors"
|
||||
```
|
||||
|
||||
If these are not set, running `azd ai agent init -m <agent-manifest.yaml>` will prompt you to enter them interactively.
|
||||
|
||||
The deployed agent's Managed Identity needs **Search Index Data Reader** on the Azure AI Search service.
|
||||
|
||||
+8
@@ -24,6 +24,14 @@ template:
|
||||
value: "{{AZURE_SEARCH_ENDPOINT}}"
|
||||
- name: AZURE_SEARCH_INDEX_NAME
|
||||
value: "{{AZURE_SEARCH_INDEX_NAME}}"
|
||||
parameters:
|
||||
properties:
|
||||
- name: AZURE_SEARCH_ENDPOINT
|
||||
secret: false
|
||||
description: The endpoint of the Azure AI Search service to use for RAG (e.g., https://my-search-service.search.windows.net)
|
||||
- name: AZURE_SEARCH_INDEX_NAME
|
||||
secret: false
|
||||
description: The name of the Azure AI Search index to use for RAG (e.g., contoso-outdoors)
|
||||
resources:
|
||||
- kind: model
|
||||
id: gpt-4.1-mini
|
||||
|
||||
Reference in New Issue
Block a user