create_chat_adapter#
- langchain_ai21.chat.chat_factory.create_chat_adapter(model: str) ChatAdapter [source]#
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: