8 lines
228 B
Python
8 lines
228 B
Python
from langchain.chat_models import init_chat_model
|
|
|
|
model = init_chat_model(
|
|
model="deepseek-v4-flash",
|
|
model_provider="openai",
|
|
base_url="https://api.deepseek.com",
|
|
api_key="sk-0b237d41f6bc44fc9732ea66bd7eade0"
|
|
) |