Skip to content
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

Syntax support for configuring distance-metric within the field #30879

Open
jobergum opened this issue Apr 11, 2024 · 0 comments
Open

Syntax support for configuring distance-metric within the field #30879

jobergum opened this issue Apr 11, 2024 · 0 comments
Assignees
Milestone

Comments

@jobergum
Copy link
Member

Today distance-metric is configured within the attribute block which also controls things like paged, fast-search etc.

field embedding type tensor<float>(v[1024]) {
     indexing: input text | embed mxbai | attribute | index
     attribute {
        distance-metric:prenormalized-angular
     }
  }

I think we should allow configuring distance-metric within the tensor field

field embedding type tensor<float>(v[1024]) {
     indexing: input text | embed mxbai | attribute | index
     distance-metric:prenormalized-angular
}

Just because it looks prettier and it's not straight forward to explain why it is tied to attribute

@kkraune kkraune added this to the later milestone Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants