schema.output.ChatGenerationChunk
A ChatGeneration chunk, which can be concatenated with other
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
A Generation chunk, which can be concatenated with other Generation chunks.
schema.output.LLMResult
Class that contains all results for a batched LLM call.
schema.output.RunInfo
Class that contains metadata for a single execution of a Chain or model.
schema.output_parser.BaseCumulativeTransformOutputParser
Base class for an output parser that can handle streaming input.
schema.output_parser.BaseGenerationOutputParser
Base class to parse the output of an LLM call.
schema.output_parser.BaseLLMOutputParser
Abstract base class for parsing the outputs of a model.
schema.output_parser.BaseOutputParser
Base class to parse the output of an LLM call.
schema.output_parser.BaseTransformOutputParser
Base class for an output parser that can handle streaming input.
schema.output_parser.NoOpOutputParser
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.prompt.PromptValue
Base abstract class for inputs to any language model.
schema.prompt_template.BasePromptTemplate
Base class for all prompt templates, returning a prompt.
schema.retriever.BaseRetriever
Abstract base class for a Document retrieval system.
schema.runnable.base.Runnable()
A Runnable is a unit of work that can be invoked, batched, streamed, or transformed.
schema.runnable.base.RunnableBinding
A runnable that delegates calls to another runnable with a set of kwargs.
schema.runnable.base.RunnableBranch
A Runnable that selects which branch to run based on a condition.