langchain/libs/core/langchain_core/outputs
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
chat_generation.py core: Move json parsing in base chat model / output parser to bg thread (#24031) 2024-07-09 12:26:36 -07:00
chat_result.py
generation.py core: docstrings outputs (#23889) 2024-07-05 12:18:17 -04:00
llm_result.py core: docstrings outputs (#23889) 2024-07-05 12:18:17 -04:00
run_info.py core: docstrings outputs (#23889) 2024-07-05 12:18:17 -04:00