-
Notifications
You must be signed in to change notification settings - Fork 482
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
Add vector search service #1248
Add vector search service #1248
Conversation
# --------------- Create vector search serve ----------------- | ||
def serve(): | ||
# TODO: configurable | ||
uvicorn.run(app, host="0.0.0.0", port=8000, reload=False) |
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.
Can we add a configuration?
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.
what to add in Config: class
vector_search_service as a block ?
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.
lance://localhost:8000
or inmemory://localhost:8000
(this at the bottom level)
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.
This would make it consistent with the other things, and open to add new configurations.
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.
Maybe we could add the test cases for mode == 'production'
and mode != 'production'
in the future
LGTM, a few changes, do not affect the merging
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1248 +/- ##
==========================================
+ Coverage 80.33% 80.61% +0.27%
==========================================
Files 95 103 +8
Lines 6602 6919 +317
==========================================
+ Hits 5304 5578 +274
- Misses 1298 1341 +43
☔ View full report in Codecov by Sentry. |
Description
fix #1242
Related Issues
Checklist
make test
successfully?Additional Notes or Comments