-
Notifications
You must be signed in to change notification settings - Fork 176
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this 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 in17
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 of50%
.
1. r2r/vector_dbs/local/base.py:182
:
- Assessed confidence :
100%
- Grade:
0%
- Comment:
The SQL query inget_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 methodget_all_unique_values
in theLocalVectorDB
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.
There was a problem hiding this 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 in6
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 of50%
.
1. r2r/vector_dbs/local/base.py:173
:
- Assessed confidence :
100%
- Grade:
0%
- Comment:
The PR description mentions modifications to theget_all_unique_values
method inr2r/vecs/collection.py
to include optional filter fields and values, but there are no changes inr2r/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 theget_all_unique_values
method inr2r/vecs/collection.py
andr2r/vector_dbs/local/base.py
to include optional filter fields and values. However, the diff does not show any changes tor2r/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.
* refine * update * format * fix
* refine * update * format * fix
* 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
* refine * update * format * fix
* refine * update * format * fix
* 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
* 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
* 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
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:
LoggingDatabaseConnection
class to a new file.Generated with ❤️ by ellipsis.dev