Source code for langchain.schema.chat
from typing import Sequence, TypedDict
from langchain.schema import BaseMessage
[docs]class ChatSession(TypedDict):
    """Chat Session represents a single
    conversation, channel, or other group of messages."""
    messages: Sequence[BaseMessage]
    """The LangChain chat messages loaded from the source."""