Sinaptik-AI / pandas-ai

Chat with your database (SQL, CSV, pandas, polars, mongodb, noSQL, etc). PandasAI makes data analysis conversational using LLMs (GPT 3.5 / 4, Anthropic, VertexAI) and RAG.
https://pandas-ai.com
Other
11.67k stars 1.07k forks source link

feat(Judge): implementation of judge agent to validate code matches t… #1238

Closed ArslanSaleem closed 1 week ago

ArslanSaleem commented 1 week ago

…he user query

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 84.75610% with 25 lines in your changes missing coverage. Please review.

Project coverage is 78.78%. Comparing base (2c14f15) to head (4d332fc).

Files Patch % Lines
pandasai/pipelines/chat/generate_chat_pipeline.py 50.00% 9 Missing :warning:
...e/agents/judge_agent/prompts/judge_agent_prompt.py 68.18% 7 Missing :warning:
pandasai/ee/agents/judge_agent/__init__.py 75.00% 5 Missing :warning:
pandasai/pipelines/pipeline.py 90.00% 2 Missing :warning:
pandasai/agent/base_judge.py 90.90% 1 Missing :warning:
...i/ee/agents/judge_agent/pipeline/judge_pipeline.py 92.85% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1238 +/- ## ========================================== + Coverage 78.62% 78.78% +0.15% ========================================== Files 132 139 +7 Lines 5540 5698 +158 ========================================== + Hits 4356 4489 +133 - Misses 1184 1209 +25 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.