Skip to content

feat: Implement Reflexion Prompting Template #1389

@PalmPalm7

Description

@PalmPalm7

🚀 Describe the new functionality needed

Implemntation at: meta-llama/llama-stack-client-python#166

Similar to feat: ReACT agent example, agent template with Reflexion would be a great add for features.

💡 Why is this needed? What if we don't build it?

What is Reflexion?

It's a cool technique where agents reflect on their reasoning to improve accuracy, and reflexion improves on tasks with effective evaluation heuristics. It shows improvement over ReAct.

The implementation is based on the Reflexion paper.

Image

Why is it important?

Unlike ReAct prompting, which focuses on step-by-step decision-making, Reflexion prompting enables the model to assess why an approach worked or failed and adjust strategies accordingly.

Other thoughts

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions