Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.5 #763

Merged
merged 24 commits into from
Nov 20, 2023
Merged

Release/v1.5 #763

merged 24 commits into from
Nov 20, 2023

Conversation

gventuri
Copy link
Collaborator

No description provided.

ArslanSaleem and others added 23 commits November 2, 2023 00:32
* feat(pipeline): Add pipeline to generate synthetic dataframe

* chore(pipeline): maintain documentation and other flows

* feat(Pipeline): test case for pipeline

* feat(cache): adding cache in pipeline context and fix leftovers

* chore(pipeline): rename and add dependency

* update poetry lock file

* refactor: minor changes from the code review

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: update pipeline_context.py

* chore: use PandasAI logger instead of default one

* refactor: prompt for synthetic data now accepts the amount params

* remove extra print statement

* 'Refactored by Sourcery' (#703)

Co-authored-by: Sourcery AI <>

* chore(pipeline): improve pipeline usage remove passing config to pipeline

* feat: config plot libraries (#705)

* In this commit, I introduced a new configuration parameter in our application settings that allows users to define their preferred data visualization library (matplotlib, seaborn, or plotly).
With this update, I've eliminated the need for the user to specify in every prompt which library to use, thereby simplifying their interaction with the application and increasing its versatility.

* This commit adds a configuration parameter for users to set their preferred data visualization library (matplotlib, seaborn, or plotly), simplifying interactions and enhancing the application's versatility.

* viz_library_type' in test_generate_python_code_prompt.py, resolved failing tests

---------

Co-authored-by: sabatino.severino <qrxqfspfibrth6nxywai2qifza6jmskt222howzew43risnx4kva>
Co-authored-by: Gabriele Venturi <[email protected]>

* build: use ruff for formatting

* feat: add add_message method to the agent

* Release v1.4.3

* feat: workspace env (#717)

* fix(chart): charts to save to save_chart_path

* refactor sourcery changes

* 'Refactored by Sourcery'

* refactor chart save code

* fix: minor leftovers

* feat(workspace_env): add workspace env to store cache, temp chart and config

* add error handling and comments

---------

Co-authored-by: Sourcery AI <>

---------

Co-authored-by: Gabriele Venturi <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Sab Severino <[email protected]>
* feat: config plot libraries (#705)

* In this commit, I introduced a new configuration parameter in our application settings that allows users to define their preferred data visualization library (matplotlib, seaborn, or plotly).
With this update, I've eliminated the need for the user to specify in every prompt which library to use, thereby simplifying their interaction with the application and increasing its versatility.

* This commit adds a configuration parameter for users to set their preferred data visualization library (matplotlib, seaborn, or plotly), simplifying interactions and enhancing the application's versatility.

* viz_library_type' in test_generate_python_code_prompt.py, resolved failing tests

---------

Co-authored-by: sabatino.severino <qrxqfspfibrth6nxywai2qifza6jmskt222howzew43risnx4kva>
Co-authored-by: Gabriele Venturi <[email protected]>

* build: use ruff for formatting

* feat: add add_message method to the agent

* Release v1.4.3

* feat: workspace env (#717)

* fix(chart): charts to save to save_chart_path

* refactor sourcery changes

* 'Refactored by Sourcery'

* refactor chart save code

* fix: minor leftovers

* feat(workspace_env): add workspace env to store cache, temp chart and config

* add error handling and comments

---------

Co-authored-by: Sourcery AI <>

* fix: hallucinations was plotting when not asked

* Release v1.4.4

* feat(sqlConnector): add direct config run sql at runtime

* feat(DirectSqlConnector): add sql test cases

* fix: minor leftovers

* fix(orders): check examples of different tables

* 'Refactored by Sourcery'

* chore(sqlprompt): add description only when we have it

---------

Co-authored-by: Sab Severino <[email protected]>
Co-authored-by: Gabriele Venturi <[email protected]>
Co-authored-by: Sourcery AI <>
…records method (#741)

* chore(synthetic_df): update prompt to not use pandas deprecated method

* fix(poetry.lock): make it consistent with pyproject.toml
* refactor(Pipelines) : Smart Data Frame Pipeline

* 'Refactored by Sourcery' (#736)

Co-authored-by: Sourcery AI <>

* refactor(Pipelines) : made changes according to PR review

* refactor(Pipelines) : Unit test cases added

* refactor(Pipelines) : Unit Test cases added cd /Users/milindlalwani/pandas-ai ; /usr/bin/env /Users/milindlalwani/anaconda3/envs/pandas-ai/bin/python /Users/milindlalwani/.vscode/extensions/ms-python.python-2023.20.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 59121 -- /Users/milindlalwani/pandas-ai/examples/from_csv.py

* refactor(Pipelines) : Broken Test Cases Fixed

* refactor(Pipelines) : Skip Logic added and More Steps created for Data Smart Lake pipeline

* 'Refactored by Sourcery' (#740)

Co-authored-by: Sourcery AI <>

* refactor: move pipeline logic unit from sdf to pipelines folder

* refactor(Pipelines) : Merge Comflicts Fixed

* build: fix .lock file

---------

Co-authored-by: Milind Lalwani <[email protected]>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Gabriele Venturi <[email protected]>
Copy link
Contributor

coderabbitai bot commented Nov 20, 2023

Important

Auto Review Skipped

More than 25% of the files skipped due to max files limit. Skipping review to prevent low quality review.

25 files out of 92 files are above the max files limit of 50.


Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • If you reply to a review comment from CodeRabbit, the bot will automatically respond.
  • To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment
  • Note: Review comments are made on code diffs or files, not on the PR overview.
  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Note: For conversation with the bot, please use the review comments on code diffs or files.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

Co-authored-by: Sourcery AI <>
@codecov-commenter
Copy link

Codecov Report

Attention: 80 lines in your changes are missing coverage. Please review.

Comparison is base (b869df8) 85.42% compared to head (b6edd45) 85.08%.

Files Patch % Lines
...pipelines/synthetic_dataframe/sdf_code_executor.py 29.41% 12 Missing ⚠️
pandasai/smart_datalake/__init__.py 86.56% 9 Missing ⚠️
...pelines/synthetic_dataframe/synthetic_df_prompt.py 50.00% 8 Missing ⚠️
pandasai/helpers/cache.py 28.57% 5 Missing ⚠️
pandasai/helpers/code_manager.py 85.71% 5 Missing ⚠️
pandasai/pipelines/logic_units/prompt_execution.py 54.54% 5 Missing ⚠️
...andasai/pipelines/logic_units/output_logic_unit.py 66.66% 4 Missing ⚠️
...asai/pipelines/smart_datalake_chat/cache_lookup.py 71.42% 4 Missing ⚠️
pandasai/responses/response_parser.py 20.00% 4 Missing ⚠️
pandasai/connectors/databricks.py 25.00% 3 Missing ⚠️
... and 13 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #763      +/-   ##
==========================================
- Coverage   85.42%   85.08%   -0.34%     
==========================================
  Files          74       88      +14     
  Lines        3650     3835     +185     
==========================================
+ Hits         3118     3263     +145     
- Misses        532      572      +40     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gventuri gventuri merged commit 7ddb780 into main Nov 20, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants