Skip to content

Commit

Permalink
del
Browse files Browse the repository at this point in the history
  • Loading branch information
alckasoc committed Jun 29, 2024
1 parent 421bd23 commit a3ac02d
Showing 1 changed file with 0 additions and 56 deletions.
56 changes: 0 additions & 56 deletions agential/cog/functional/reflexion.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,27 +178,13 @@ def _prompt_cot_agent(
prompt=prompt,
additional_keys=additional_keys,
)
print(
"<PROMPT AGENT========================================================================>"
)
print(prompt)
print(
"<PROMPT AGENT========================================================================>"
)
out = llm(
[
HumanMessage(
content=prompt,
)
]
).content
print(
"<OUT AGENT========================================================================>"
)
print(repr(out))
print(
"<OUT AGENT========================================================================>"
)
assert isinstance(out, str)
return out

Expand Down Expand Up @@ -266,27 +252,13 @@ def _prompt_cot_reflection(
prompt=prompt,
additional_keys=additional_keys,
)
print(
"<PROMPT REFLECT========================================================================>"
)
print(prompt)
print(
"<PROMPT REFLECT========================================================================>"
)
out = llm(
[
HumanMessage(
content=prompt,
)
]
).content
print(
"<OUT REFLECT========================================================================>"
)
print(repr(out))
print(
"<OUT REFLECT========================================================================>"
)
assert isinstance(out, str)
return out

Expand Down Expand Up @@ -524,27 +496,13 @@ def _prompt_react_agent(
prompt=prompt,
additional_keys=additional_keys,
)
print(
"<PROMPT AGENT========================================================================>"
)
print(prompt)
print(
"<PROMPT AGENT========================================================================>"
)
out = llm(
[
HumanMessage(
content=prompt,
)
]
).content
print(
"<OUT AGENT========================================================================>"
)
print(repr(out))
print(
"<OUT AGENT========================================================================>"
)
assert isinstance(out, str)
return out

Expand Down Expand Up @@ -666,27 +624,13 @@ def _prompt_react_reflection(
prompt=prompt,
additional_keys=additional_keys,
)
print(
"<PROMPT REFLECT========================================================================>"
)
print(prompt)
print(
"<PROMPT REFLECT========================================================================>"
)
out = llm(
[
HumanMessage(
content=prompt,
)
]
).content
print(
"<OUT REFLECT========================================================================>"
)
print(repr(out))
print(
"<OUT REFLECT========================================================================>"
)
assert isinstance(out, str)
return out

Expand Down

0 comments on commit a3ac02d

Please sign in to comment.