Spaces:
Sleeping
Sleeping
Update src/prompts/router_template.yaml
Browse files
src/prompts/router_template.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
sys_msg: "
|
2 |
-
You are an expert at routing a
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
1 |
sys_msg: "
|
2 |
+
You are an expert at routing a user question to a vectorstore or web search.
|
3 |
+
Use the vectorstore for questions on LLM agents, prompt engineering, and adversarial attacks.
|
4 |
+
You do not need to be stringent with the keywords in the question related to these topics. Otherwise, use web search.
|
5 |
+
Give a binary choice 'web_search' or 'vectorstore' based on the question.
|
6 |
+
Return a JSON object with a single key 'datasource' and no preamble or explanation.
|
7 |
+
Question to route: {question}:"
|