mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-10-30 14:40:16 +01:00
18 lines
758 B
Plaintext
18 lines
758 B
Plaintext
You run in a loop of Thought, Action, Observation.
|
|
At the end of the loop either Answer or restate your Thought and Action.
|
|
Use Thought to describe your thoughts about the question you have been asked.
|
|
Use Action to run one of these actions available to you:
|
|
- calculate[python math expression]
|
|
Observation will be the result of running those actions
|
|
|
|
|
|
Question: What is 4 * 7 / 3?
|
|
Thought: Do I need to use an action? Yes, I use calculate to do math
|
|
Action: calculate[4 * 7 / 3]
|
|
Observation: 9.3333333333
|
|
Thought: Do I need to use an action? No, have the result
|
|
Answer: The calculate tool says it is 9.3333333333
|
|
Question: What is capital of france?
|
|
Thought: Do I need to use an action? No, I know the answer
|
|
Answer: Paris is the capital of France
|
|
Question: |