mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
642975dd9f
Description: Added support for AI21 new model - Jamba Twitter handle: https://github.com/AI21Labs --------- Co-authored-by: Asaf Gardin <asafg@ai21.com> Co-authored-by: Erick Friis <erick@langchain.dev>
10 lines
238 B
Python
10 lines
238 B
Python
import pytest
|
|
|
|
from langchain_ai21.chat.chat_adapter import ChatAdapter
|
|
from langchain_ai21.chat.chat_factory import create_chat_adapter
|
|
|
|
|
|
@pytest.fixture
|
|
def chat_adapter(model: str) -> ChatAdapter:
|
|
return create_chat_adapter(model)
|