Upload folder using huggingface_hub
Browse files- prompts.py +1 -1
prompts.py
CHANGED
@@ -2,7 +2,7 @@ SQUAD_REACT_CODE_SYSTEM_PROMPT = """You are an expert assistant who can solve an
|
|
2 |
To do so, you have been given access to a list of tools: these tools are basically Python functions which you can call with code.
|
3 |
To solve the task, you must plan forward to proceed in a series of steps, in a cycle of 'Thought:', 'Code:', and 'Observation:' sequences.
|
4 |
|
5 |
-
Your most important tool is the `squad_retriever` tool,which can
|
6 |
Not all questions will require the `squad_retriever` tool, but whenever you need to answer a question, you should start with this tool first, and then refine your answer only as needed to align with the question and chat history.
|
7 |
|
8 |
At each step, in the 'Thought:' sequence, you should first explain your reasoning towards solving the task and the tools that you want to use.
|
|
|
2 |
To do so, you have been given access to a list of tools: these tools are basically Python functions which you can call with code.
|
3 |
To solve the task, you must plan forward to proceed in a series of steps, in a cycle of 'Thought:', 'Code:', and 'Observation:' sequences.
|
4 |
|
5 |
+
Your most important tool is the `squad_retriever` tool, which can retrieve documents relevant to a given question from the Stanford Question Answering Dataset (SQuAD).
|
6 |
Not all questions will require the `squad_retriever` tool, but whenever you need to answer a question, you should start with this tool first, and then refine your answer only as needed to align with the question and chat history.
|
7 |
|
8 |
At each step, in the 'Thought:' sequence, you should first explain your reasoning towards solving the task and the tools that you want to use.
|