langchain/libs/core/langchain_core
Eugene Yurtsev 93472ee9e6
core[patch]: Replace memory stream implementation used by LogStreamCallbackHandler (#17185)
This PR replaces the memory stream implementation used by the 
LogStreamCallbackHandler.

This implementation resolves an issue in which streamed logs and
streamed events originating from sync code would arrive only after the
entire sync code would finish execution (rather than arriving in real
time as they're generated).

One example is if trying to stream tokens from an llm within a tool. If
the tool was an async tool, but the llm was invoked via stream (sync
variant) rather than astream (async variant), then the tokens would fail
to stream in real time and would all arrived bunched up after the tool
invocation completed.
2024-02-12 21:57:38 -05:00
..
_api core[patch]: preserve inspect.iscoroutinefunction with @beta decorator (#16440) 2024-01-29 20:01:11 -08:00
beta core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 2024-01-05 17:54:26 -05:00
callbacks infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
documents core[patch]: doc init positional args (#16854) 2024-02-02 10:24:16 -08:00
example_selectors core[patch], community[patch], langchain[patch], docs: Update SQL chains/agents/docs (#16168) 2024-01-22 08:19:08 -08:00
globals IMPROVEMENT: filter global warnings properly (#13754) 2023-11-22 16:26:37 -08:00
language_models langchain[minor], community[minor], core[minor]: Async Cache support and AsyncRedisCache (#15817) 2024-02-07 22:06:09 -05:00
load core[patch]: Hide aliases when serializing (#16888) 2024-02-01 17:55:37 -08:00
messages infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
output_parsers langchain[minor], core[minor]: update json, pydantic parser. add openai-json structured output runnable (#16914) 2024-02-08 11:59:06 -08:00
outputs core[patch]: docstring update (#16813) 2024-02-09 12:47:41 -08:00
prompts infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
pydantic_v1 Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
runnables infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
tracers core[patch]: Replace memory stream implementation used by LogStreamCallbackHandler (#17185) 2024-02-12 21:57:38 -05:00
utils infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
__init__.py core[patch], community[patch]: mark runnable context, lc load as beta (#15603) 2024-01-05 17:54:26 -05:00
agents.py manual mapping (#14422) 2023-12-08 16:29:33 -08:00
caches.py langchain[minor], community[minor], core[minor]: Async Cache support and AsyncRedisCache (#15817) 2024-02-07 22:06:09 -05:00
chat_history.py Add async methods to BaseChatMessageHistory and BaseMemory (#16728) 2024-02-05 13:20:28 -05:00
chat_sessions.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
embeddings.py Propagate context vars in all classes/methods 2023-12-29 12:34:03 -08:00
env.py core[patch]: update langchain-core runtime library name (#14884) 2023-12-20 14:35:48 -08:00
exceptions.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
memory.py Add async methods to BaseChatMessageHistory and BaseMemory (#16728) 2024-02-05 13:20:28 -05:00
prompt_values.py core[patch]: Message content as positional arg (#16921) 2024-02-02 10:24:02 -08:00
py.typed core[minor], langchain[patch], experimental[patch]: Added missing py.typed to langchain_core (#14143) 2023-12-01 19:15:23 -08:00
retrievers.py core[patch]: passthrough BaseRetriever.invoke(**kwargs) (#16551) 2024-01-25 08:58:39 -08:00
stores.py Add async methods to BaseStore (#16669) 2024-01-31 17:10:47 -08:00
sys_info.py infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
tools.py core[patch]: docstring update (#16813) 2024-02-09 12:47:41 -08:00
vectorstores.py Propagate context vars in all classes/methods 2023-12-29 12:34:03 -08:00