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

Feature/modify get all uniq values #325

Merged
merged 4 commits into from
Apr 23, 2024

Conversation

emrgnt-cmplxty
Copy link
Contributor

@emrgnt-cmplxty emrgnt-cmplxty commented Apr 23, 2024

🚀 This description was created by Ellipsis for commit fbd4820

Summary:

This PR enhances the system's functionality by adding new methods, modifying existing methods, moving a class to a new file, adding a streaming mode, and updating an example client.

Key points:

  • Enhanced system's functionality by adding new methods for fetching user IDs and documents.
  • Modified existing methods to include optional filter fields and values.
  • Moved LoggingDatabaseConnection class to a new file.
  • Added a method to support streaming mode.
  • Updated an example client.

Generated with ❤️ by ellipsis.dev

Copy link

vercel bot commented Apr 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
r2r-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 23, 2024 6:29pm

@emrgnt-cmplxty emrgnt-cmplxty marked this pull request as ready for review April 23, 2024 18:13
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me!

  • Reviewed the entire pull request up to 604200d
  • Looked at 1025 lines of code in 17 files
  • Took 1 minute and 20 seconds to review
More info
  • Skipped 0 files when reviewing.
  • Skipped posting 1 additional comments because they didn't meet confidence threshold of 50%.
1. r2r/vector_dbs/local/base.py:182:
  • Assessed confidence : 100%
  • Grade: 0%
  • Comment:
    The SQL query in get_all_unique_values does not handle JSON data types correctly, which could lead to incorrect or failed queries. Consider using JSON functions to properly query and filter JSON fields in SQLite.
# Adjust the SQL query to handle JSON data types correctly
  • Reasoning:
    The method get_all_unique_values in the LocalVectorDB class is designed to fetch all unique metadata values for a specified field, optionally filtered by another metadata field. However, the method contains a logical error in its SQL query construction. The query attempts to select metadata directly without properly handling JSON data types, which could lead to incorrect or failed queries especially when filters are applied. This needs to be addressed to ensure the method functions correctly across different scenarios.

Workflow ID: wflow_ZWHKMBYhgUIXjFHE


Not what you expected? You can customize the content of the reviews using rules. Learn more here.

@emrgnt-cmplxty emrgnt-cmplxty merged commit eedf333 into dev Apr 23, 2024
1 of 2 checks passed
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me!

  • Performed an incremental review on fbd4820
  • Looked at 571 lines of code in 6 files
  • Took 4 minutes and 2 seconds to review
More info
  • Skipped 0 files when reviewing.
  • Skipped posting 1 additional comments because they didn't meet confidence threshold of 50%.
1. r2r/vector_dbs/local/base.py:173:
  • Assessed confidence : 100%
  • Grade: 0%
  • Comment:
    The PR description mentions modifications to the get_all_unique_values method in r2r/vecs/collection.py to include optional filter fields and values, but there are no changes in r2r/vecs/collection.py in the diff. Please verify if the changes are missing or if the PR description needs updating.
  • Reasoning:
    The PR description mentions modifications to the get_all_unique_values method in r2r/vecs/collection.py and r2r/vector_dbs/local/base.py to include optional filter fields and values. However, the diff does not show any changes to r2r/vecs/collection.py. This could be an oversight or an error in the PR description. It's important to ensure that all mentioned changes are reflected in the PR to avoid inconsistencies and potential bugs.

Workflow ID: wflow_dldvp8CdJwDq1X4T


Not what you expected? You can customize the content of the reviews using rules. Learn more here.

emrgnt-cmplxty added a commit that referenced this pull request Apr 23, 2024
* refine

* update

* format

* fix
emrgnt-cmplxty added a commit that referenced this pull request Apr 23, 2024
* refine

* update

* format

* fix
emrgnt-cmplxty added a commit that referenced this pull request Apr 23, 2024
* Update local_rag.mdx

* Update llms.mdx (#322)

* update the default embd. (#310)

* Feature/add agent provider (#317)

* update pipeline (#315)

* Update CONTRIBUTING.md

* Delete CONTRIBUTOR.md

* Adding agent provider

* Feature/modify get all uniq values (#325)

* refine

* update

* format

* fix

* dev merge
emrgnt-cmplxty added a commit that referenced this pull request Apr 23, 2024
* refine

* update

* format

* fix
emrgnt-cmplxty added a commit that referenced this pull request Apr 23, 2024
* Feature/add agent provider (#317)

* update pipeline (#315)

* Update CONTRIBUTING.md

* Delete CONTRIBUTOR.md

* Adding agent provider

* Feature/modify get all uniq values (#325)

* refine

* update

* format

* fix

* dev merge

* cleanup
emrgnt-cmplxty added a commit that referenced this pull request Apr 23, 2024
* refine

* update

* format

* fix
emrgnt-cmplxty added a commit that referenced this pull request Apr 23, 2024
* Update local_rag.mdx

* Update llms.mdx (#322)

* update the default embd. (#310)

* Feature/add agent provider (#317)

* update pipeline (#315)

* Update CONTRIBUTING.md

* Delete CONTRIBUTOR.md

* Adding agent provider

* Feature/modify get all uniq values (#325)

* refine

* update

* format

* fix

* dev merge
emrgnt-cmplxty added a commit that referenced this pull request Apr 23, 2024
* Feature/add agent provider (#317)

* update pipeline (#315)

* Update CONTRIBUTING.md

* Delete CONTRIBUTOR.md

* Adding agent provider

* Feature/modify get all uniq values (#325)

* refine

* update

* format

* fix

* dev merge

* cleanup
emrgnt-cmplxty added a commit that referenced this pull request Apr 24, 2024
* update the default embd. (#310)

* Feature/add jina reranker rebased (#312)

* Add jina reranker

* fix oai

* Revampt client & server approach. (#316)

* Revampt client & server approach.

* cleanups

* tweak hyde prompt

* Feature/add agent provider (#317)

* update pipeline (#315)

* Update CONTRIBUTING.md

* Delete CONTRIBUTOR.md

* Adding agent provider

* Feature/add agent provider rebased v2 (#319)

* modify prompt provider workflow, add agent

* fix run qna client

* add provider abstraction

* tweaks and cleans

* move text splitter config locale

* Feature/modify get all uniq values (#325)

* refine

* update

* format

* fix

* Feature/dev merge rebased (#329)

* Update local_rag.mdx

* Update llms.mdx (#322)

* update the default embd. (#310)

* Feature/add agent provider (#317)

* update pipeline (#315)

* Update CONTRIBUTING.md

* Delete CONTRIBUTOR.md

* Adding agent provider

* Feature/modify get all uniq values (#325)

* refine

* update

* format

* fix

* dev merge

* Feature/fix dev merge mistakes rebased (#330)

* Feature/add agent provider (#317)

* update pipeline (#315)

* Update CONTRIBUTING.md

* Delete CONTRIBUTOR.md

* Adding agent provider

* Feature/modify get all uniq values (#325)

* refine

* update

* format

* fix

* dev merge

* cleanup

* Feature/dev cleanup (#331)

* final pub

* final pub

* json clean

* fix sentence transformer issue

* include rerank

* fix llama cpp

* rebase

* fix rerank

* small tweaks

* rollbk config

* cleanup
@emrgnt-cmplxty emrgnt-cmplxty deleted the feature/modify-get-all-uniq-values branch April 24, 2024 17:30
iCUE-Solutions pushed a commit to DeweyLearn/DeweyLearnR2R that referenced this pull request Jul 18, 2024
* update the default embd. (SciPhi-AI#310)

* Feature/add jina reranker rebased (SciPhi-AI#312)

* Add jina reranker

* fix oai

* Revampt client & server approach. (SciPhi-AI#316)

* Revampt client & server approach.

* cleanups

* tweak hyde prompt

* Feature/add agent provider (SciPhi-AI#317)

* update pipeline (SciPhi-AI#315)

* Update CONTRIBUTING.md

* Delete CONTRIBUTOR.md

* Adding agent provider

* Feature/add agent provider rebased v2 (SciPhi-AI#319)

* modify prompt provider workflow, add agent

* fix run qna client

* add provider abstraction

* tweaks and cleans

* move text splitter config locale

* Feature/modify get all uniq values (SciPhi-AI#325)

* refine

* update

* format

* fix

* Feature/dev merge rebased (SciPhi-AI#329)

* Update local_rag.mdx

* Update llms.mdx (SciPhi-AI#322)

* update the default embd. (SciPhi-AI#310)

* Feature/add agent provider (SciPhi-AI#317)

* update pipeline (SciPhi-AI#315)

* Update CONTRIBUTING.md

* Delete CONTRIBUTOR.md

* Adding agent provider

* Feature/modify get all uniq values (SciPhi-AI#325)

* refine

* update

* format

* fix

* dev merge

* Feature/fix dev merge mistakes rebased (SciPhi-AI#330)

* Feature/add agent provider (SciPhi-AI#317)

* update pipeline (SciPhi-AI#315)

* Update CONTRIBUTING.md

* Delete CONTRIBUTOR.md

* Adding agent provider

* Feature/modify get all uniq values (SciPhi-AI#325)

* refine

* update

* format

* fix

* dev merge

* cleanup

* Feature/dev cleanup (SciPhi-AI#331)

* final pub

* final pub

* json clean

* fix sentence transformer issue

* include rerank

* fix llama cpp

* rebase

* fix rerank

* small tweaks

* rollbk config

* cleanup
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.

None yet

1 participant