mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
27 lines
648 B
Python
27 lines
648 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, Orca, Vicuna
|
||
|
|
||
|
__all__ = [
|
||
|
"Llama2Chat",
|
||
|
"Orca",
|
||
|
"Vicuna",
|
||
|
]
|