20 lines
394 B
Python
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
|
|
)
|