RFC: conversational agent (#464)

Co-authored-by: Bruno Bornsztein <bruno.bornsztein@gmail.com>
This commit is contained in:
Harrison Chase
2023-01-06 07:25:55 -08:00
committed by GitHub
parent 330a5b42d4
commit 74932f2516
8 changed files with 432 additions and 1 deletions

View File

@@ -28,3 +28,9 @@ This agent utilizes a single tool that should be named `Intermediate Answer`.
This tool should be able to lookup factual answers to questions. This agent
is equivalent to the original [self ask with search paper](https://ofir.io/self-ask.pdf),
where a Google search API was provided as the tool.
### `conversational-react-description`
This agent is designed to be used in conversational settings.
The prompt is designed to make the agent helpful and conversational.
It uses the ReAct framework to decide which tool to use, and uses memory to remember the previous conversation interactions.