Advanced agents
Judge Agent
Enhance the PandasAI library with the JudgeAgent that evaluates the generated code
Introduction to the Judge Agent
The JudgeAgent
extends the capabilities of the PandasAI library by adding an extra judgement in agents pipeline that validates the code generated against the query
Note: The usage of the Judge Agent in production is subject to a license. For more details, refer to the license documentation. If you plan to use it in production, contact us.
Instantiating the Judge Agent
JudgeAgent can be used both as a standalone agent and in conjunction with other agents. To use it with other agents, pass JudgeAgent as a parameter to them.
Using with other agents
Using as a standalone
Judge Agent integration with other agents also gives the flexibility to use different LLMs.
Was this page helpful?