ChatSession#

class langchain_core.chat_sessions.ChatSession[source]#

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

messages: Sequence[BaseMessage]#

A sequence of the LangChain chat messages loaded from the source.

functions: Sequence[dict]#

A sequence of the function calling specs for the messages.

Examples using ChatSession