-
Notifications
You must be signed in to change notification settings - Fork 601
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
LanceDB Integration #548
LanceDB Integration #548
Conversation
PR Description updated to latest commit (1d435ef) |
PR Analysis
PR Feedback
|
Hi @PrashantDixit0
|
LanceDB saves everything locally |
I'll check to update new issues in Table |
locally is ok for CLI, but when working the github app or github action, a local database is not possible. but other than that, the PR looks very good. its very nice to work with lanceDB, without needing any key or stuff like that. |
Thank you @mrT23 , I'll state about LanceDB in README. LanceDB is working on bringing a high-speed, scalable, and serverless cloud-based system, we can integrate it once it is released. Btw, when can we merge this PR for local testing |
@PrashantDixit0 change back the default to pinecone (so the app would still work), and I think we can merge. |
Sure @mrT23, I change default to pinecone and I am really interested in continue improving the amazing PR-agent |
Done |
LanceDB Integration
Type
Enhancement
Description
This PR introduces LanceDB integration into the
pr_agent
tool. The most significant changes include:pr_agent/tools/pr_similar_issue.py
file has been updated to support both Pinecone and LanceDB as vector databases. This is controlled by thepr_similar_issue.vectordb
setting._update_table_with_issues
for indexing issues in LanceDB have been added.run
method has been updated to support querying from both Pinecone and LanceDB.docs/SIMILAR_ISSUE.md
has been updated to include information about the new LanceDB integration.pr_agent/settings/configuration.toml
has been updated to include a new settingvectordb
underpr_similar_issue
and a new section forlancedb
settings.requirements.txt
file has been updated to include thelancedb
package.PR changes walkthrough
1 files
pr_similar_issue.py
pr_agent/tools/pr_similar_issue.py
- Added
- Modified the
- Added new
- Updated the
**The file
pr_agent/tools/pr_similar_issue.py
has beensignificantly updated to support LanceDB integration. The
changes include:
import lancedb
at the top of thefile.
PRSimilarIssue
class to support bothPinecone and LanceDB as vector databases. This is controlled
by the
pr_similar_issue.vectordb
setting.methods
_update_table_with_issues
for indexing issues inLanceDB.
run
method to support querying fromboth Pinecone and LanceDB.**
1 files
SIMILAR_ISSUE.md
docs/SIMILAR_ISSUE.md
The documentation file
docs/SIMILAR_ISSUE.md
has beenupdated to include information about the new LanceDB
integration.
1 files
configuration.toml
pr_agent/settings/configuration.toml
The configuration file
pr_agent/settings/configuration.toml
has been updated toinclude a new setting
vectordb
underpr_similar_issue
and a new section for
lancedb
settings.1 files
requirements.txt
requirements.txt
The
requirements.txt
file has been updated to include thelancedb
package.