feat:更新智能体架构
This commit is contained in:
11
agent/bill.py
Normal file
11
agent/bill.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from langchain.agents import create_agent
|
||||
|
||||
from agent.model import model
|
||||
from prompt.bill import bill_prompt
|
||||
from tools.bill import bill_search
|
||||
|
||||
bill_agent = create_agent(
|
||||
model=model,
|
||||
tools=[bill_search],
|
||||
system_prompt=bill_prompt
|
||||
)
|
||||
Reference in New Issue
Block a user