Skip to content
Prev Previous commit
Next Next commit
Add back defaultoversampling and rerankWithOriginalVectors
  • Loading branch information
Jonathan Serbent committed Oct 3, 2024
commit ae4b49afcdffbe81cd9331fd0ef011eeb9918e6a
Original file line number Diff line number Diff line change
Expand Up @@ -6348,6 +6348,17 @@
"description": "The name of the kind of compression method being configured for use with vector search.",
"x-nullable": false
},
"rerankWithOriginalVectors": {
"type": "boolean",
"default": true,
"description": "If set to true, once the ordered set of results calculated using compressed vectors are obtained, they will be reranked again by recalculating the full-precision similarity scores. This will improve recall at the expense of latency."
},
"defaultOversampling": {
"type": "number",
"format": "double",
"description": "Default oversampling factor. Oversampling will internally request more documents (specified by this multiplier) in the initial search. This increases the set of results that will be reranked using recomputed similarity scores from full-precision vectors. Minimum value is 1, meaning no oversampling (1x). This parameter can only be set when rerankWithOriginalVectors is true. Higher values improve recall at the expense of latency.",
"x-nullable": true
},
"rescoringOptions": {
"type": "object",
"$ref": "#/definitions/RescoringOptions",
Expand Down