schema.agent.AgentActionMessageLog
Create a new model by parsing and validating input data from keyword arguments.
schema.agent.AgentFinish
The final return value of an ActionAgent.
schema.cache.BaseCache()
Base interface for cache.
schema.chat.ChatSession
Chat Session represents a single conversation, channel, or other group of messages.
schema.chat_history.BaseChatMessageHistory()
Abstract base class for storing chat message history.
schema.document.BaseDocumentTransformer()
Abstract base class for document transformation systems.
schema.document.Document
Class for storing a piece of text and associated metadata.
schema.embeddings.Embeddings()
Interface for embedding models.
schema.exceptions.LangChainException
General LangChain exception.
schema.language_model.BaseLanguageModel
Abstract base class for interfacing with language models.
schema.memory.BaseMemory
Abstract base class for memory in Chains.
schema.messages.AIMessage
A Message from an AI.
schema.messages.AIMessageChunk
A Message chunk from an AI.
schema.messages.BaseMessage
The base abstract Message class.
schema.messages.BaseMessageChunk
A Message chunk, which can be concatenated with other Message chunks.
schema.messages.ChatMessage
A Message that can be assigned an arbitrary speaker (i.e.
schema.messages.ChatMessageChunk
A Chat Message chunk.
schema.messages.FunctionMessage
A Message for passing the result of executing a function back to a model.
schema.messages.FunctionMessageChunk
A Function Message chunk.
schema.messages.HumanMessage
A Message from a human.
schema.messages.HumanMessageChunk
A Human Message chunk.
schema.messages.SystemMessage
A Message for priming AI behavior, usually passed in as the first of a sequence of input messages.
schema.messages.SystemMessageChunk
A System Message chunk.
schema.output.ChatGeneration
A single chat generation output.
schema.output.ChatGenerationChunk
A ChatGeneration chunk, which can be concatenated with other