alias of StrOutputParser
schema.output_parser.OutputParserException(error)
Exception that output parsers should raise to signify a parsing error.
schema.output_parser.StrOutputParser
OutputParser that parses LLMResult into the top likely string..
schema.document.BaseDocumentTransformer()
Abstract base class for document transformation systems.
schema.document.Document
Class for storing a piece of text and associated metadata.
schema.messages.AIMessage
A Message from an AI.
schema.messages.AIMessageChunk
Create a new model by parsing and validating input data from keyword arguments.
schema.messages.BaseMessage
The base abstract Message class.
schema.messages.BaseMessageChunk
Create a new model by parsing and validating input data from keyword arguments.
schema.messages.ChatMessage
A Message that can be assigned an arbitrary speaker (i.e.
schema.messages.ChatMessageChunk
Create a new model by parsing and validating input data from keyword arguments.
schema.messages.FunctionMessage
A Message for passing the result of executing a function back to a model.
schema.messages.FunctionMessageChunk
Create a new model by parsing and validating input data from keyword arguments.
schema.messages.HumanMessage
A Message from a human.
schema.messages.HumanMessageChunk
Create a new model by parsing and validating input data from keyword arguments.
schema.messages.SystemMessage
A Message for priming AI behavior, usually passed in as the first of a sequence of input messages.
schema.messages.SystemMessageChunk
Create a new model by parsing and validating input data from keyword arguments.
schema.output.ChatGeneration
A single chat generation output.
schema.output.ChatGenerationChunk
Create a new model by parsing and validating input data from keyword arguments.
schema.output.ChatResult
Class that contains all results for a single chat model call.
schema.output.Generation
A single text generation output.
schema.output.GenerationChunk
Create a new model by parsing and validating input data from keyword arguments.