1+ # agent config
2+ # Do not introduce any new variable name
3+ # the variables inside {} receives data from the previous agent. the {literature} variable is the one that passes the
4+ # initial input.
5+ agent_config :
6+ extractor_agent :
7+ role : >
8+ agent role
9+ goal : >
10+ goal
11+ backstory : >
12+ agent back story
13+ llm :
14+ model : openrouter/openai/gpt-4o-mini
15+ base_url : https://openrouter.ai/api/v1
16+
17+ alignment_agent :
18+ role : >
19+ agent role
20+ goal : >
21+ agent goal
22+ backstory : >
23+ agent back story
24+ llm :
25+ model : openrouter/openai/gpt-4o-mini
26+ base_url : https://openrouter.ai/api/v1
27+
28+ judge_agent :
29+ role : >
30+ agent role
31+ goal : >
32+ goal
33+ backstory : >
34+ agent back story
35+ llm :
36+ model : openrouter/openai/gpt-4o-mini
37+ base_url : https://openrouter.ai/api/v1
38+
39+ humanfeedback_agent :
40+ role : >
41+ agent role
42+ goal : >
43+ agent goal
44+ backstory : >
45+ agent back story
46+ llm :
47+ model : openrouter/openai/gpt-4o-mini
48+ base_url : https://openrouter.ai/api/v1
49+
50+ # agent task config
51+ task_config :
52+ extraction_task :
53+ description : >
54+ #add task description
55+
56+ Input: {literature}
57+
58+
59+ expected_output : >
60+ output format: json
61+ Example output: add example
62+
63+ # do not chage this, remove it later
64+ agent_id : extractor_agent
65+
66+ alignment_task :
67+ description : >
68+ Inputs: {extracted_structured_information}
69+
70+ Instructions:
71+
72+
73+ expected_output : >
74+ output format: json
75+ Example output: add example
76+
77+ # do not chage this, remove it later
78+ agent_id : alignment_agent
79+
80+ judge_task :
81+ description : >
82+ {aligned_structured_information}
83+
84+ Instuctions: add instructions
85+
86+ expected_output : >
87+ output format: json
88+ Example output: addd example
89+
90+ # do not chage this, remove it later
91+ agent_id : judge_agent
92+
93+ humanfeedback_task :
94+ description : >
95+ Input: {judged_structured_information_with_human_feedback}
96+
97+ modification_context:
98+ {modification_context}
99+
100+ user_feedback_text:
101+ {user_feedback_text}
102+
103+ Instructions:
104+ add you instructions
105+
106+
107+
108+ expected_output : >
109+ output format: json
110+ Example output: addd example
111+
112+ agent_id : humanfeedback_agent
113+
114+ # embedding config
115+ # see for more details and parameters for config
116+ # https://docs.crewai.com/concepts/memory#additional-embedding-providerscl
117+ embedder_config :
118+ provider : ollama
119+ config :
120+ api_base : http://localhost:11434
121+ model : nomic-embed-text:latest
122+
123+ # knowledge search config
124+ knowledge_config :
125+ search_key : # local vector database
126+ - entity
127+ - label
128+ # human in loop config
129+ human_in_loop_config :
130+ humanfeedback_agent : true
0 commit comments