chat_models
#
Chat Models are a variation on language models.
While Chat Models use language models under the hood, the interface they expose is a bit different. Rather than expose a “text in, text out” API, they expose an interface where “chat messages” are the inputs and outputs.
Class hierarchy:
BaseLanguageModel --> BaseChatModel --> <name> # Examples: ChatOpenAI, ChatGooglePalm
Main helpers:
AIMessage, BaseMessage, HumanMessage
Classes
Wrapper for chat LLMs. |
|
Wrapper for Llama-2-chat model. |
|
See https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1#instruction-format |
|
Wrapper for Orca-style models. |
|
Wrapper for Vicuna-style models. |