feat:增加考试接口
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from langchain.agents import create_agent
|
||||
|
||||
from agent.model import model
|
||||
from agent.prompt import question_prompt, knowledge_prompt
|
||||
from agent.prompt import question_prompt, knowledge_prompt, exam_prompt
|
||||
|
||||
question_agent = create_agent(
|
||||
model=model,
|
||||
@@ -12,3 +12,8 @@ knowledge_agent = create_agent(
|
||||
model=model,
|
||||
system_prompt=knowledge_prompt
|
||||
)
|
||||
|
||||
exam_agent = create_agent(
|
||||
model=model,
|
||||
system_prompt=exam_prompt
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user