langchain/libs/core/langchain_core/messages
Nuno Campos 160fc7f246
core: Move json parsing in base chat model / output parser to bg thread (#24031)
- add version of AIMessageChunk.__add__ that can add many chunks,
instead of only 2
- In agenerate_from_stream merge and parse chunks in bg thread
- In output parse base classes do more work in bg threads where
appropriate

---------

Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
2024-07-09 12:26:36 -07:00
..
__init__.py core: add RemoveMessage (#23636) 2024-06-28 14:40:02 -07:00
ai.py core: Move json parsing in base chat model / output parser to bg thread (#24031) 2024-07-09 12:26:36 -07:00
base.py core: Move json parsing in base chat model / output parser to bg thread (#24031) 2024-07-09 12:26:36 -07:00
chat.py core: docstrings messages (#23788) 2024-07-03 11:25:00 -04:00
function.py core: docstrings messages (#23788) 2024-07-03 11:25:00 -04:00
human.py core: docstrings messages (#23788) 2024-07-03 11:25:00 -04:00
modifier.py core: docstrings messages (#23788) 2024-07-03 11:25:00 -04:00
system.py core: docstrings messages (#23788) 2024-07-03 11:25:00 -04:00
tool.py core: docstrings messages (#23788) 2024-07-03 11:25:00 -04:00
utils.py core[minor]: update conversion utils to handle RemoveMessage (#23840) 2024-07-03 16:13:31 -04:00