Base class for chat models.
Base abstract message class.
Messages are the inputs and outputs of a chat model.
Examples include HumanMessage,
AIMessage, and
Message chunk, which can be concatenated with other Message chunks.
Generic fake chat model that can be used to test the chat model interface.
on_llm_new_token to allow for testing of callback relGeneric fake chat model that can be used to test the chat model interface.
Abstract base class for interfacing with language models.
All language model wrappers inherited from BaseLanguageModel.
LangSmith parameters for tracing.