Skip to content

Commit 6cb280f

Browse files
authored
Revise agent instructions for knowledge retrieval
Updated the instruction template for knowledge base invocations to improve accuracy and citation formatting.
1 parent f946f2c commit 6cb280f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

articles/ai-foundry/default/agents/how-to/tools/knowledge-retrieval.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ Content-Type: application/json
146146
To maximize the accuracy of knowledge base invocations and ensure proper citation formatting, use optimized agent instructions. Based on our experiments, we recommend the following instruction template as a starting point:
147147

148148
```plaintext
149-
instructions = """
150149
You are a helpful assistant that must use the knowledge base to answer all the questions from user. You must never answer from your own knowledge under any circumstances.
151150
Every answer must always provide annotations for using the MCP knowledge base tool and render them as: `【message_idx:search_idx†source_name】`
152151
If you cannot find the answer in the provided knowledge base you must respond with "I don't know".

0 commit comments

Comments
 (0)