15 lines
304 B
Python
15 lines
304 B
Python
from langchain.agents import create_agent
|
|
|
|
from agent.model import model
|
|
from agent.prompt import question_prompt, knowledge_prompt
|
|
|
|
question_agent = create_agent(
|
|
model=model,
|
|
system_prompt=question_prompt
|
|
)
|
|
|
|
knowledge_agent = create_agent(
|
|
model=model,
|
|
system_prompt=knowledge_prompt
|
|
)
|