Files
study-agent-service/agent/study.py
2026-08-02 22:57:36 +08:00

20 lines
394 B
Python

from langchain.agents import create_agent
from agent.model import model
from agent.prompt import question_prompt, knowledge_prompt, exam_prompt
question_agent = create_agent(
model=model,
system_prompt=question_prompt
)
knowledge_agent = create_agent(
model=model,
system_prompt=knowledge_prompt
)
exam_agent = create_agent(
model=model,
system_prompt=exam_prompt
)