@@ -151,10 +151,9 @@ class ChunkingSettings(AttrDict[Any]):
151151 strategies in the linked documentation. Defaults to `sentence` if
152152 omitted.
153153 :arg max_chunk_size: (required) The maximum size of a chunk in words.
154- This value cannot be lower than `20` (for `sentence` strategy) or
155- `10` (for `word` strategy). This value should not exceed the
156- window size for the associated model. Defaults to `250` if
157- omitted.
154+ This value cannot be higher than `300` or lower than `20` (for
155+ `sentence` strategy) or `10` (for `word` strategy). Defaults to
156+ `250` if omitted.
158157 :arg separator_group: Only applicable to the `recursive` strategy and
159158 required when using it. Sets a predefined list of separators in
160159 the saved chunking settings based on the selected text type.
@@ -398,17 +397,14 @@ class DenseVectorIndexOptions(AttrDict[Any]):
398397 HNSW graph. Only applicable to `hnsw`, `int8_hnsw`, `bbq_hnsw`,
399398 and `int4_hnsw` index types. Defaults to `16` if omitted.
400399 :arg rescore_vector: The rescore vector options. This is only
401- applicable to `bbq_disk`, `bbq_hnsw`, `int4_hnsw`, `int8_hnsw`,
402- `bbq_flat`, `int4_flat`, and `int8_flat` index types.
403- :arg on_disk_rescore: `true` if vector rescoring should be done on-
404- disk Only applicable to `bbq_hnsw`
400+ applicable to `bbq_hnsw`, `int4_hnsw`, `int8_hnsw`, `bbq_flat`,
401+ `int4_flat`, and `int8_flat` index types.
405402 """
406403
407404 type : Union [
408405 Literal [
409406 "bbq_flat" ,
410407 "bbq_hnsw" ,
411- "bbq_disk" ,
412408 "flat" ,
413409 "hnsw" ,
414410 "int4_flat" ,
@@ -424,7 +420,6 @@ class DenseVectorIndexOptions(AttrDict[Any]):
424420 rescore_vector : Union [
425421 "DenseVectorIndexOptionsRescoreVector" , Dict [str , Any ], DefaultType
426422 ]
427- on_disk_rescore : Union [bool , DefaultType ]
428423
429424 def __init__ (
430425 self ,
@@ -433,7 +428,6 @@ def __init__(
433428 Literal [
434429 "bbq_flat" ,
435430 "bbq_hnsw" ,
436- "bbq_disk" ,
437431 "flat" ,
438432 "hnsw" ,
439433 "int4_flat" ,
@@ -449,7 +443,6 @@ def __init__(
449443 rescore_vector : Union [
450444 "DenseVectorIndexOptionsRescoreVector" , Dict [str , Any ], DefaultType
451445 ] = DEFAULT ,
452- on_disk_rescore : Union [bool , DefaultType ] = DEFAULT ,
453446 ** kwargs : Any ,
454447 ):
455448 if type is not DEFAULT :
@@ -462,8 +455,6 @@ def __init__(
462455 kwargs ["m" ] = m
463456 if rescore_vector is not DEFAULT :
464457 kwargs ["rescore_vector" ] = rescore_vector
465- if on_disk_rescore is not DEFAULT :
466- kwargs ["on_disk_rescore" ] = on_disk_rescore
467458 super ().__init__ (kwargs )
468459
469460
@@ -2335,7 +2326,9 @@ class LikeDocument(AttrDict[Any]):
23352326 per_field_analyzer : Union [Mapping [Union [str , InstrumentedField ], str ], DefaultType ]
23362327 routing : Union [str , DefaultType ]
23372328 version : Union [int , DefaultType ]
2338- version_type : Union [Literal ["internal" , "external" , "external_gte" ], DefaultType ]
2329+ version_type : Union [
2330+ Literal ["internal" , "external" , "external_gte" , "force" ], DefaultType
2331+ ]
23392332
23402333 def __init__ (
23412334 self ,
@@ -2350,7 +2343,7 @@ def __init__(
23502343 routing : Union [str , DefaultType ] = DEFAULT ,
23512344 version : Union [int , DefaultType ] = DEFAULT ,
23522345 version_type : Union [
2353- Literal ["internal" , "external" , "external_gte" ], DefaultType
2346+ Literal ["internal" , "external" , "external_gte" , "force" ], DefaultType
23542347 ] = DEFAULT ,
23552348 ** kwargs : Any ,
23562349 ):
@@ -3196,33 +3189,6 @@ def __init__(
31963189 super ().__init__ (kwargs )
31973190
31983191
3199- class SemanticTextIndexOptions (AttrDict [Any ]):
3200- """
3201- :arg dense_vector:
3202- :arg sparse_vector:
3203- """
3204-
3205- dense_vector : Union ["DenseVectorIndexOptions" , Dict [str , Any ], DefaultType ]
3206- sparse_vector : Union ["SparseVectorIndexOptions" , Dict [str , Any ], DefaultType ]
3207-
3208- def __init__ (
3209- self ,
3210- * ,
3211- dense_vector : Union [
3212- "DenseVectorIndexOptions" , Dict [str , Any ], DefaultType
3213- ] = DEFAULT ,
3214- sparse_vector : Union [
3215- "SparseVectorIndexOptions" , Dict [str , Any ], DefaultType
3216- ] = DEFAULT ,
3217- ** kwargs : Any ,
3218- ):
3219- if dense_vector is not DEFAULT :
3220- kwargs ["dense_vector" ] = dense_vector
3221- if sparse_vector is not DEFAULT :
3222- kwargs ["sparse_vector" ] = sparse_vector
3223- super ().__init__ (kwargs )
3224-
3225-
32263192class ShapeFieldQuery (AttrDict [Any ]):
32273193 """
32283194 :arg indexed_shape: Queries using a pre-indexed shape.
0 commit comments