schema.output.GenerationChunk
Create a new model by parsing and validating input data from keyword arguments.
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.agent.AgentAction(tool, tool_input, log)
A full description of an action for an ActionAgent to execute.
schema.agent.AgentFinish(return_values, log)
The final return value of an ActionAgent.
schema.prompt_template.BasePromptTemplate
Base class for all prompt templates, returning a prompt.
schema.runnable.RouterInput
schema.runnable.RouterRunnable
Create a new model by parsing and validating input data from keyword arguments.
schema.runnable.Runnable()
schema.runnable.RunnableBinding
Create a new model by parsing and validating input data from keyword arguments.
schema.runnable.RunnableConfig
schema.runnable.RunnableLambda(func)
schema.runnable.RunnableMap
Create a new model by parsing and validating input data from keyword arguments.
schema.runnable.RunnablePassthrough
Create a new model by parsing and validating input data from keyword arguments.
schema.runnable.RunnableSequence
Create a new model by parsing and validating input data from keyword arguments.
schema.runnable.RunnableWithFallbacks
Create a new model by parsing and validating input data from keyword arguments.
schema.language_model.BaseLanguageModel
Abstract base class for interfacing with language models.
schema.exceptions.LangChainException
General LangChain exception.
schema.storage.BaseStore()
Abstract interface for a key-value store.
schema.retriever.BaseRetriever
Abstract base class for a Document retrieval system.
schema.prompt.PromptValue
Base abstract class for inputs to any language model.
Functions¶
schema.messages.get_buffer_string(messages)
Convert sequence of Messages to strings and concatenate them into one string.