Skip to content

Commit f94a9a9

Browse files
updated agent
1 parent 258266c commit f94a9a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

maslibpy/agent/agent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ def invoke(self, query: Union[str, List[Dict[str, str]]]):
4343
role="AI Assistant",
4444
goal="Assist users effectively",
4545
backstory="An advanced AI designed to provide helpful insights.",
46-
prompt_type="cot",
47-
max_iterations=2,
46+
prompt_type="react",
47+
max_iterations=3,
4848
critique_llm=LLM(provider="together", model_name="together_ai/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo"),
4949
generator_llm=LLM(provider="together", model_name="together_ai/mistralai/Mistral-7B-Instruct-v0.1"),
50-
score_type="mathematical"
50+
score_type="prompt_based"
5151
)
5252

5353
agent.invoke([{"role":"user","content":"what are AI Agents"}])

0 commit comments

Comments
 (0)