langchain/libs/core/langchain_core
Christophe Bornet a0ec045495
Add async methods to BaseStore (#16669)
- **Description:**

The BaseStore methods are currently blocking. Some implementations
(AstraDBStore, RedisStore) would benefit from having async methods.
Also once we have async methods for BaseStore, we can implement the
async `aembed_documents` in CacheBackedEmbeddings to cache the
embeddings asynchronously.

* adds async methods amget, amset, amedelete and ayield_keys to
BaseStore
  * implements the async methods for InMemoryStore
  * adds tests for InMemoryStore async methods

- **Twitter handle:** cbornet_
2024-01-31 17:10:47 -08: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 docs: Update doc-string in base callback managers (#15885) 2024-01-30 09:51:45 -08:00
documents Propagate context vars in all classes/methods 2023-12-29 12:34:03 -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 Accept message-like things in Chat models, LLMs and MessagesPlaceholder (#16418) 2024-01-26 15:44:28 -08:00
load core[patch]: support old core namespaces (#16155) 2024-01-17 11:26:25 -08:00
messages Accept message-like things in Chat models, LLMs and MessagesPlaceholder (#16418) 2024-01-26 15:44:28 -08:00
output_parsers Core: fix Anthropic json issue in streaming (#16670) 2024-01-28 16:41:17 -08:00
outputs core[patch], openai[patch]: Chat openai stream logprobs (#16218) 2024-01-19 09:16:09 -08:00
prompts docs: add csv use case (#16756) 2024-01-30 09:39:46 -08:00
pydantic_v1 Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
runnables core: expand docstring for RunnableGenerator (#16672) 2024-01-28 16:47:08 -08:00
tracers In stream_event and stream_log handle closed streams (#16661) 2024-01-27 08:09:29 -08:00
utils Fix Dep Recommendation (#16793) 2024-01-30 09:40:28 -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 REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
chat_history.py core(minor): Add bulk add messages to BaseChatMessageHistory interface (#15709) 2024-01-31 11:59:39 -08: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 REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
prompt_values.py core[minor]: Image prompt template (#14263) 2024-01-27 17:04:29 -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 core[patch]: Update sys info information (#16297) 2024-01-22 10:18:04 -05:00
tools.py core[patch]: consolidate conditional in BaseTool (#16530) 2024-01-24 16:56:58 -08:00
vectorstores.py Propagate context vars in all classes/methods 2023-12-29 12:34:03 -08:00