Skip to content

Commit 0a885d9

Browse files
committed
Add new options for generic vector formats to dense_vector
1 parent 3a4eb3f commit 0a885d9

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

specification/_types/mapping/DenseVectorProperty.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,12 @@ export enum DenseVectorElementType {
7676
/**
7777
* Indexes a 4-byte floating-point value per dimension.
7878
*/
79-
float
79+
float,
80+
/**
81+
* Indexes a 2-byte floating-point value per dimension.
82+
* @availability stack since=9.3.0
83+
*/
84+
bfloat16
8085
}
8186

8287
export enum DenseVectorSimilarity {
@@ -166,8 +171,8 @@ export class DenseVectorIndexOptions {
166171
/**
167172
* `true` if vector rescoring should be done on-disk
168173
*
169-
* Only applicable to `bbq_hnsw`
170-
* @server_default false
174+
* Only applicable to `bbq_disk`, `bbq_hnsw`, `int4_hnsw`, `int8_hnsw`
175+
* @availability stack since=9.3.0 stability=preview
171176
*/
172177
on_disk_rescore?: boolean
173178
}

0 commit comments

Comments
 (0)