langchain_core.chat_sessions.ChatSession¶

class langchain_core.chat_sessions.ChatSession[source]¶

Chat Session represents a single conversation, channel, or other group of messages.

messages: Sequence[langchain_core.messages.base.BaseMessage]¶

The LangChain chat messages loaded from the source.

functions: Sequence[dict]¶

The function calling specs for the messages.

Examples using ChatSession¶