-
Notifications
You must be signed in to change notification settings - Fork 2.1k
tool to generate vespa schema variations for our cloud #4556
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
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.
PR Summary
This PR introduces a new script for generating Vespa schema variations and refactors schema handling functions to improve maintainability and consistency in cloud deployments.
- Added
/backend/scripts/debugging/onyx_vespa_schemas.py
to automate schema generation for different embedding models - Introduced
_replace_tenant_template_value_in_schema
inindex.py
for cleaner tenant ID handling - Changed
decay_factor
input type from float to double indanswer_chunk.sd
for improved precision - Removed unused
random_
rank profile from schema definition - Improved error handling and logging in schema generation process
3 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
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.
just a small question
…4556) * tool to generate vespa schema variations for our cloud * extraneous assign * float, not double * back to double --------- Co-authored-by: Richard Kuo (Onyx) <rkuo@onyx.app>
…4556) * tool to generate vespa schema variations for our cloud * extraneous assign * float, not double * back to double --------- Co-authored-by: Richard Kuo (Onyx) <rkuo@onyx.app>
Description
Fixes https://linear.app/danswer/issue/DAN-1842/need-consistent-tool-to-generate-vespa-schemas-for-the-cloud
How Has This Been Tested?
[Describe the tests you ran to verify your changes]
Backporting (check the box to trigger backport action)
Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.