forked from Archives/langchain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
655 B
Python
18 lines
655 B
Python
# flake8: noqa
|
|
PREFIX = """Answer the following questions as best you can. You have access to the following tools:"""
|
|
FORMAT_INSTRUCTIONS = """Use the following format:
|
|
|
|
Question: the input question you must answer
|
|
Thought: you should always think about what to do
|
|
Action: the action to take, should be one of [{tool_names}]
|
|
Action Input: the input to the action
|
|
Observation: the result of the action
|
|
... (this Thought/Action/Action Input/Observation can repeat N times)
|
|
Thought: I now know the final answer
|
|
Final Answer: the final answer to the original input question"""
|
|
SUFFIX = """Do NOT use any tools that do not exist.
|
|
|
|
Begin!
|
|
|
|
Question: {input}"""
|