7 lines
222 B
Python
7 lines
222 B
Python
|
|
from langchain_community.chat_models.tongyi import ChatTongyi
|
|
from utils.Tools import all_tools
|
|
|
|
llm = ChatTongyi(streaming=False, api_key="sk-fb46eefb6b404382a0a5325202e923a6")
|
|
llm_with_tools = llm.bind_tools(all_tools)
|