Refactor/react agent (#3355)
This commit is contained in:
parent
509c640a80
commit
cea107b165
9 changed files with 589 additions and 511 deletions
|
|
@ -38,8 +38,10 @@ Action:
|
|||
```
|
||||
|
||||
Begin! Reminder to ALWAYS respond with a valid json blob of a single action. Use tools if necessary. Respond directly if appropriate. Format is Action:```$JSON_BLOB```then Observation:.
|
||||
{{historic_messages}}
|
||||
Question: {{query}}
|
||||
Thought: {{agent_scratchpad}}"""
|
||||
{{agent_scratchpad}}
|
||||
Thought:"""
|
||||
|
||||
ENGLISH_REACT_COMPLETION_AGENT_SCRATCHPAD_TEMPLATES = """Observation: {{observation}}
|
||||
Thought:"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue