Files
langchain-python/langchain/agents
Francisco Ingham 41c8a42e22 Improve chat tool prompt (#1989)
I have found that when the user has not asked an explicit question the
agent might have trouble answering the latest comment and might instead
try to answer a question that came before in the conversation which
would not be what is desired.

I also found that the agent might get confused with the current prompt
and talk about the tools themselves instead of the results obtained from
them.

I added two changes to the tool prompt so that the agent answers only
the last comment/question and only returns information from tool
results.
2023-03-27 16:34:01 -07:00
..
2023-03-14 23:06:17 -07:00
2023-03-14 09:42:24 -07:00
2023-03-08 17:41:17 -08:00
2023-03-27 16:32:55 -07:00
2023-02-28 22:19:11 -08:00
2023-03-16 21:43:22 -07:00
2023-03-22 20:14:52 -07:00
2023-03-14 09:42:24 -07:00