Commit Graph

9 Commits

Author SHA1 Message Date
Harrison Chase aad0a498ac Harrison/output error (#3094)
Co-authored-by: yummydum <sumita@nowcast.co.jp>
2023-04-18 08:59:56 -07:00
__Jay__ 2984ad3964 updated llm response parsing action (#3058)
Sometimes the LLM response (generated code) tends to miss the ending
ticks "```". Therefore causing the text parsing to fail due to not
enough values to unpack.

The 2 extra `_` don't add value and can cause errors. Suggest to simply
update the `_, action, _` to just `action` then with index.

Fixes issue #3057
2023-04-17 21:42:13 -07:00
Harrison Chase e12e00df12 use output parsers in agents (#2987) 2023-04-16 13:15:21 -07:00
Harrison Chase 7cf46b3fee Harrison/convo agent (#1642) 2023-03-14 09:42:24 -07:00
Brian Thorne 9ee2713272 Bugfix - allow custom input variables in chat zero shot agent's prompt (#1624)
I was trying out the `chat-zero-shot-react-description` agent for
[qabot](https://github.com/hardbyte/qabot/blob/dbbd31bb2702d433ed573bb177f1d1272d36f2ae/qabot/agents/data_query_chain.py#L35-L52)
but langchain 0.0.108 doesn't correctly use custom 'input_variables` in
the prompt template.
2023-03-13 23:07:35 -07:00
Harrison Chase 72b461e257 improve chat error (#1632) 2023-03-13 07:43:44 -07:00
Peng Qu cb646082ba remove an extra whitespace (#1625) 2023-03-13 07:27:21 -07:00
Harrison Chase 90846dcc28 fix chat agent (#1586) 2023-03-10 12:40:37 -08:00
Harrison Chase a094c49153 add chat agent (#1509) 2023-03-09 09:12:08 -08:00