create_chat_adapter#
- langchain_ai21.chat.chat_factory.create_chat_adapter(
- model: str,
Create a chat adapter based on the model.
- Parameters:
model (str) – The model to create the chat adapter for.
- Returns:
The chat adapter.
- Return type:
Create a chat adapter based on the model.
model (str) – The model to create the chat adapter for.
The chat adapter.