-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Functionality to find first N results #77
Conversation
Review status: 0 of 8 files reviewed at latest revision, 5 unresolved discussions. gql/parser.go, line 159 [r2] (raw file): gql/parser.go, line 162 [r2] (raw file): posting/list.go, line 743 [r2] (raw file): posting/list.go, line 744 [r2] (raw file): query/query.go, line 114 [r2] (raw file): Comments from Reviewable |
Review status: 0 of 8 files reviewed at latest revision, 5 unresolved discussions. gql/parser.go, line 159 [r2] (raw file): gql/parser.go, line 162 [r2] (raw file): posting/list.go, line 743 [r2] (raw file): posting/list.go, line 744 [r2] (raw file): query/query.go, line 114 [r2] (raw file): Comments from Reviewable |
Review status: 0 of 8 files reviewed at latest revision, 1 unresolved discussion. query/query.go, line 114 [r2] (raw file): Comments from Reviewable |
Review status: 0 of 8 files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
Reviewed 6 of 8 files at r1, 1 of 1 files at r3, 1 of 1 files at r4. Comments from Reviewable |
Added dep to be used for dependency management until go mods are more widely supported
…_distance field was getting clobbered (#77) Description: ``` querySimilar<Type> queries defined a new derived type "<Type>WithDistance" with a new field hm_distance. However, if <Type> had any lists, hm_distance was getting clobbered by an "<ListFieldName>Aggregate" being added to <Type> The fix essentially does away with the derived type <Type>WithDistance as the resultType for querySimilar<Type> queries. Instead, we add <embeddingFieldName>Distance field for each embedding in the <Type> definition itself. This would make it easy to add support for filters on embeddings. ``` Fixes: HYP-447
…_distance field was getting clobbered (#77) Description: ``` querySimilar<Type> queries defined a new derived type "<Type>WithDistance" with a new field hm_distance. However, if <Type> had any lists, hm_distance was getting clobbered by an "<ListFieldName>Aggregate" being added to <Type> The fix essentially does away with the derived type <Type>WithDistance as the resultType for querySimilar<Type> queries. Instead, we add <embeddingFieldName>Distance field for each embedding in the <Type> definition itself. This would make it easy to add support for filters on embeddings. ``` Fixes: HYP-447
…_distance field was getting clobbered (#77) Description: ``` querySimilar<Type> queries defined a new derived type "<Type>WithDistance" with a new field hm_distance. However, if <Type> had any lists, hm_distance was getting clobbered by an "<ListFieldName>Aggregate" being added to <Type> The fix essentially does away with the derived type <Type>WithDistance as the resultType for querySimilar<Type> queries. Instead, we add <embeddingFieldName>Distance field for each embedding in the <Type> definition itself. This would make it easy to add support for filters on embeddings. ``` Fixes: HYP-447
This change is