mirror of
https://github.com/hwchase17/langchain
synced 2024-11-11 19:11:02 +00:00
66576948e0
**Description:** Adds a chat wrapper for Mixtral models using the [prompt template](https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1#instruction-format). --------- Co-authored-by: Bagatur <baskaryan@gmail.com>
28 lines
674 B
Python
28 lines
674 B
Python
"""**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:**
|
|
|
|
.. code-block::
|
|
|
|
BaseLanguageModel --> BaseChatModel --> <name> # Examples: ChatOpenAI, ChatGooglePalm
|
|
|
|
**Main helpers:**
|
|
|
|
.. code-block::
|
|
|
|
AIMessage, BaseMessage, HumanMessage
|
|
""" # noqa: E501
|
|
|
|
from langchain_experimental.chat_models.llm_wrapper import (
|
|
Llama2Chat,
|
|
Mixtral,
|
|
Orca,
|
|
Vicuna,
|
|
)
|
|
|
|
__all__ = ["Llama2Chat", "Orca", "Vicuna", "Mixtral"]
|