BaseChatLoader#
- class langchain_core.chat_loaders.BaseChatLoader[source]#
Base class for chat loaders.
Methods
- __init__()#
- abstract lazy_load() Iterator[ChatSession] [source]#
Lazy load the chat sessions.
- Returns:
An iterator of chat sessions.
- Return type:
Iterator[ChatSession]
- load() list[ChatSession] [source]#
Eagerly load the chat sessions into memory.
- Returns:
A list of chat sessions.
- Return type:
list[ChatSession]