21 lines
389 B
Python
21 lines
389 B
Python
from langchain.agents import create_agent
|
|
|
|
from agent.model import model
|
|
from agent.prompt import article_prompt, recipe_prompt, report_prompt
|
|
|
|
article_agent = create_agent(
|
|
model=model,
|
|
system_prompt=article_prompt
|
|
)
|
|
|
|
recipe_agent = create_agent(
|
|
model=model,
|
|
system_prompt=recipe_prompt
|
|
)
|
|
|
|
report_agent = create_agent(
|
|
model=model,
|
|
system_prompt=report_prompt
|
|
)
|
|
|