Replies: 2 comments 14 replies
-
💻 It appears there's some related work on this branch: https://github.com/brainlid/langchain/tree/me-destructuring So maybe this could be expanded to optionally take in different llm models, as some are better suited for certain tasks than others. |
Beta Was this translation helpful? Give feedback.
-
Yes, with v0.3.0-rc.0 (what's currently on main), a new feature called MessageProcessors was added. A JsonProcessor is provided but custom ones can be created. The purpose is to process an Assistant response message to parse, change formatting, enforce rules, etc. When the assistant's response doesn't meet a rule, the processor generates a user message reporting the error to let the LLM try again. |
Beta Was this translation helpful? Give feedback.
-
Ability to automatically run additional post-processing on the last
:assistant
response.Examples:
Beta Was this translation helpful? Give feedback.
All reactions