We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, SourceDocument only provides contents() which returns a String.
SourceDocument
contents()
This means that for dense vectors, we first convert into a string and then parse back into a vector... which is silly.
We should add something like
float[] vector();
The text was updated successfully, but these errors were encountered:
feat: add vector() method to SourceDocument interface - Add vector() …
9ad582f
…method with default null implementation - Update vector document generators to use vector() with string fallback - Addresses inefficient vector-to-string conversion pattern - See: castorini#2661
1a93af2
93536f5
No branches or pull requests
Currently,
SourceDocument
only providescontents()
which returns a String.This means that for dense vectors, we first convert into a string and then parse back into a vector... which is silly.
We should add something like
The text was updated successfully, but these errors were encountered: