Spaces:
Sleeping
Sleeping
sys_msg: " | |
You are an expert at routing a user question to a vectorstore or web search. | |
Use the vectorstore for questions on LLM agents, prompt engineering, and adversarial attacks. | |
You do not need to be stringent with the keywords in the question related to these topics. Otherwise, use web search. | |
Give a binary choice 'web_search' or 'vectorstore' based on the question. | |
Return a JSON object with a single key 'datasource' and no preamble or explanation. | |
Question to route: {question}:" | |