Self-reflection enables agents to evaluate and improve their own responses before delivering them.
Self-reflection enables agents to evaluate and improve their own responses before delivering them.
Install Package
First, install the Praison Labs Agents package:
Set API Key
Set your OpenAI API key as an environment variable in your terminal:
Create a file
Create a new file app.py
with the
basic setup:
Start Agents
Type this in your terminal to run your agents:
Install Package
First, install the Praison Labs Agents package:
Set API Key
Set your OpenAI API key as an environment variable in your terminal:
Create a file
Create a new file app.py
with the
basic setup:
Start Agents
Type this in your terminal to run your agents:
Install Package
Install the Praison Labs package:
Set API Key
Set your OpenAI API key as an environment variable in your terminal:
Create a file
Create a new file agents.yaml
with
the basic setup:
Start Agents
Type this in your terminal to run your agents:
Requirements
Self-reflection enables agents to:
Evaluates and improves response quality through self-review.
Refines responses through multiple reflection cycles.
Ensures all aspects of the task are properly addressed.
Enables thoughtful evaluation of responses.
Install Package
First, install the Praison Labs Agents package:
Set API Key
Set your OpenAI API key as an environment variable in your terminal:
Create a file
Create a new file app.py
with the
basic setup:
Start Agents
Type this in your terminal to run your agents:
Install Package
First, install the Praison Labs Agents package:
Set API Key
Set your OpenAI API key as an environment variable in your terminal:
Create a file
Create a new file app.py
with the
basic setup:
Start Agents
Type this in your terminal to run your agents:
Install Package
Install the Praison Labs package:
Set API Key
Set your OpenAI API key as an environment variable in your terminal:
Create a file
Create a new file agents.yaml
with
the basic setup:
Start Agents
Type this in your terminal to run your agents:
If responses are not meeting expectations:
If output quality is insufficient:
Learn about automatically created and managed AI agents
Explore lightweight, focused AI agents
For optimal results, configure reflection parameters based on your specific use case requirements.