@@ -10,26 +10,6 @@ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Map
1010
1111DESCRIPTOR : _descriptor .FileDescriptor
1212
13- class PropertyValueModifier (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
14- __slots__ = ()
15- PROPERTY_VALUE_MODIFIER_UNSPECIFIED : _ClassVar [PropertyValueModifier ]
16- PROPERTY_VALUE_MODIFIER_LOG1P : _ClassVar [PropertyValueModifier ]
17- PROPERTY_VALUE_MODIFIER_SQRT : _ClassVar [PropertyValueModifier ]
18-
19- class DecayCurve (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
20- __slots__ = ()
21- DECAY_CURVE_UNSPECIFIED : _ClassVar [DecayCurve ]
22- DECAY_CURVE_GAUSS : _ClassVar [DecayCurve ]
23- DECAY_CURVE_LINEAR : _ClassVar [DecayCurve ]
24- DECAY_CURVE_EXPONENTIAL : _ClassVar [DecayCurve ]
25- PROPERTY_VALUE_MODIFIER_UNSPECIFIED : PropertyValueModifier
26- PROPERTY_VALUE_MODIFIER_LOG1P : PropertyValueModifier
27- PROPERTY_VALUE_MODIFIER_SQRT : PropertyValueModifier
28- DECAY_CURVE_UNSPECIFIED : DecayCurve
29- DECAY_CURVE_GAUSS : DecayCurve
30- DECAY_CURVE_LINEAR : DecayCurve
31- DECAY_CURVE_EXPONENTIAL : DecayCurve
32-
3313class SearchRequest (_message .Message ):
3414 __slots__ = ("collection" , "tenant" , "consistency_level" , "properties" , "metadata" , "group_by" , "limit" , "offset" , "autocut" , "after" , "sort_by" , "filters" , "hybrid_search" , "bm25_search" , "near_vector" , "near_object" , "near_text" , "near_image" , "near_audio" , "near_video" , "near_depth" , "near_thermal" , "near_imu" , "generative" , "rerank" , "boost" , "uses_123_api" , "uses_125_api" , "uses_127_api" )
3515 COLLECTION_FIELD_NUMBER : _ClassVar [int ]
@@ -338,64 +318,78 @@ class RefPropertiesResult(_message.Message):
338318
339319class Boost (_message .Message ):
340320 __slots__ = ("conditions" , "weight" , "depth" )
321+ class PropertyValueModifier (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
322+ __slots__ = ()
323+ PROPERTY_VALUE_MODIFIER_UNSPECIFIED : _ClassVar [Boost .PropertyValueModifier ]
324+ PROPERTY_VALUE_MODIFIER_LOG1P : _ClassVar [Boost .PropertyValueModifier ]
325+ PROPERTY_VALUE_MODIFIER_SQRT : _ClassVar [Boost .PropertyValueModifier ]
326+ PROPERTY_VALUE_MODIFIER_UNSPECIFIED : Boost .PropertyValueModifier
327+ PROPERTY_VALUE_MODIFIER_LOG1P : Boost .PropertyValueModifier
328+ PROPERTY_VALUE_MODIFIER_SQRT : Boost .PropertyValueModifier
329+ class DecayCurve (int , metaclass = _enum_type_wrapper .EnumTypeWrapper ):
330+ __slots__ = ()
331+ DECAY_CURVE_UNSPECIFIED : _ClassVar [Boost .DecayCurve ]
332+ DECAY_CURVE_GAUSS : _ClassVar [Boost .DecayCurve ]
333+ DECAY_CURVE_LINEAR : _ClassVar [Boost .DecayCurve ]
334+ DECAY_CURVE_EXPONENTIAL : _ClassVar [Boost .DecayCurve ]
335+ DECAY_CURVE_UNSPECIFIED : Boost .DecayCurve
336+ DECAY_CURVE_GAUSS : Boost .DecayCurve
337+ DECAY_CURVE_LINEAR : Boost .DecayCurve
338+ DECAY_CURVE_EXPONENTIAL : Boost .DecayCurve
339+ class PropertyValueFunction (_message .Message ):
340+ __slots__ = ("property" , "modifier" )
341+ PROPERTY_FIELD_NUMBER : _ClassVar [int ]
342+ MODIFIER_FIELD_NUMBER : _ClassVar [int ]
343+ property : str
344+ modifier : Boost .PropertyValueModifier
345+ def __init__ (self , property : _Optional [str ] = ..., modifier : _Optional [_Union [Boost .PropertyValueModifier , str ]] = ...) -> None : ...
346+ class TimeDecayFunction (_message .Message ):
347+ __slots__ = ("property" , "origin" , "scale" , "offset" , "curve" , "decay_value" )
348+ PROPERTY_FIELD_NUMBER : _ClassVar [int ]
349+ ORIGIN_FIELD_NUMBER : _ClassVar [int ]
350+ SCALE_FIELD_NUMBER : _ClassVar [int ]
351+ OFFSET_FIELD_NUMBER : _ClassVar [int ]
352+ CURVE_FIELD_NUMBER : _ClassVar [int ]
353+ DECAY_VALUE_FIELD_NUMBER : _ClassVar [int ]
354+ property : str
355+ origin : str
356+ scale : str
357+ offset : str
358+ curve : Boost .DecayCurve
359+ decay_value : float
360+ def __init__ (self , property : _Optional [str ] = ..., origin : _Optional [str ] = ..., scale : _Optional [str ] = ..., offset : _Optional [str ] = ..., curve : _Optional [_Union [Boost .DecayCurve , str ]] = ..., decay_value : _Optional [float ] = ...) -> None : ...
361+ class NumericDecayFunction (_message .Message ):
362+ __slots__ = ("property" , "origin" , "scale" , "offset" , "curve" , "decay_value" )
363+ PROPERTY_FIELD_NUMBER : _ClassVar [int ]
364+ ORIGIN_FIELD_NUMBER : _ClassVar [int ]
365+ SCALE_FIELD_NUMBER : _ClassVar [int ]
366+ OFFSET_FIELD_NUMBER : _ClassVar [int ]
367+ CURVE_FIELD_NUMBER : _ClassVar [int ]
368+ DECAY_VALUE_FIELD_NUMBER : _ClassVar [int ]
369+ property : str
370+ origin : float
371+ scale : float
372+ offset : float
373+ curve : Boost .DecayCurve
374+ decay_value : float
375+ def __init__ (self , property : _Optional [str ] = ..., origin : _Optional [float ] = ..., scale : _Optional [float ] = ..., offset : _Optional [float ] = ..., curve : _Optional [_Union [Boost .DecayCurve , str ]] = ..., decay_value : _Optional [float ] = ...) -> None : ...
376+ class Condition (_message .Message ):
377+ __slots__ = ("filter" , "time_decay" , "property_value" , "numeric_decay" , "weight" )
378+ FILTER_FIELD_NUMBER : _ClassVar [int ]
379+ TIME_DECAY_FIELD_NUMBER : _ClassVar [int ]
380+ PROPERTY_VALUE_FIELD_NUMBER : _ClassVar [int ]
381+ NUMERIC_DECAY_FIELD_NUMBER : _ClassVar [int ]
382+ WEIGHT_FIELD_NUMBER : _ClassVar [int ]
383+ filter : _base_pb2 .Filters
384+ time_decay : Boost .TimeDecayFunction
385+ property_value : Boost .PropertyValueFunction
386+ numeric_decay : Boost .NumericDecayFunction
387+ weight : float
388+ def __init__ (self , filter : _Optional [_Union [_base_pb2 .Filters , _Mapping ]] = ..., time_decay : _Optional [_Union [Boost .TimeDecayFunction , _Mapping ]] = ..., property_value : _Optional [_Union [Boost .PropertyValueFunction , _Mapping ]] = ..., numeric_decay : _Optional [_Union [Boost .NumericDecayFunction , _Mapping ]] = ..., weight : _Optional [float ] = ...) -> None : ...
341389 CONDITIONS_FIELD_NUMBER : _ClassVar [int ]
342390 WEIGHT_FIELD_NUMBER : _ClassVar [int ]
343391 DEPTH_FIELD_NUMBER : _ClassVar [int ]
344- conditions : _containers .RepeatedCompositeFieldContainer [BoostCondition ]
392+ conditions : _containers .RepeatedCompositeFieldContainer [Boost . Condition ]
345393 weight : float
346394 depth : int
347- def __init__ (self , conditions : _Optional [_Iterable [_Union [BoostCondition , _Mapping ]]] = ..., weight : _Optional [float ] = ..., depth : _Optional [int ] = ...) -> None : ...
348-
349- class BoostCondition (_message .Message ):
350- __slots__ = ("filter" , "time_decay" , "property_value" , "numeric_decay" , "weight" )
351- FILTER_FIELD_NUMBER : _ClassVar [int ]
352- TIME_DECAY_FIELD_NUMBER : _ClassVar [int ]
353- PROPERTY_VALUE_FIELD_NUMBER : _ClassVar [int ]
354- NUMERIC_DECAY_FIELD_NUMBER : _ClassVar [int ]
355- WEIGHT_FIELD_NUMBER : _ClassVar [int ]
356- filter : _base_pb2 .Filters
357- time_decay : TimeDecayFunction
358- property_value : PropertyValueFunction
359- numeric_decay : NumericDecayFunction
360- weight : float
361- def __init__ (self , filter : _Optional [_Union [_base_pb2 .Filters , _Mapping ]] = ..., time_decay : _Optional [_Union [TimeDecayFunction , _Mapping ]] = ..., property_value : _Optional [_Union [PropertyValueFunction , _Mapping ]] = ..., numeric_decay : _Optional [_Union [NumericDecayFunction , _Mapping ]] = ..., weight : _Optional [float ] = ...) -> None : ...
362-
363- class PropertyValueFunction (_message .Message ):
364- __slots__ = ("property" , "modifier" )
365- PROPERTY_FIELD_NUMBER : _ClassVar [int ]
366- MODIFIER_FIELD_NUMBER : _ClassVar [int ]
367- property : str
368- modifier : PropertyValueModifier
369- def __init__ (self , property : _Optional [str ] = ..., modifier : _Optional [_Union [PropertyValueModifier , str ]] = ...) -> None : ...
370-
371- class TimeDecayFunction (_message .Message ):
372- __slots__ = ("property" , "origin" , "scale" , "offset" , "curve" , "decay_value" )
373- PROPERTY_FIELD_NUMBER : _ClassVar [int ]
374- ORIGIN_FIELD_NUMBER : _ClassVar [int ]
375- SCALE_FIELD_NUMBER : _ClassVar [int ]
376- OFFSET_FIELD_NUMBER : _ClassVar [int ]
377- CURVE_FIELD_NUMBER : _ClassVar [int ]
378- DECAY_VALUE_FIELD_NUMBER : _ClassVar [int ]
379- property : str
380- origin : str
381- scale : str
382- offset : str
383- curve : DecayCurve
384- decay_value : float
385- def __init__ (self , property : _Optional [str ] = ..., origin : _Optional [str ] = ..., scale : _Optional [str ] = ..., offset : _Optional [str ] = ..., curve : _Optional [_Union [DecayCurve , str ]] = ..., decay_value : _Optional [float ] = ...) -> None : ...
386-
387- class NumericDecayFunction (_message .Message ):
388- __slots__ = ("property" , "origin" , "scale" , "offset" , "curve" , "decay_value" )
389- PROPERTY_FIELD_NUMBER : _ClassVar [int ]
390- ORIGIN_FIELD_NUMBER : _ClassVar [int ]
391- SCALE_FIELD_NUMBER : _ClassVar [int ]
392- OFFSET_FIELD_NUMBER : _ClassVar [int ]
393- CURVE_FIELD_NUMBER : _ClassVar [int ]
394- DECAY_VALUE_FIELD_NUMBER : _ClassVar [int ]
395- property : str
396- origin : float
397- scale : float
398- offset : float
399- curve : DecayCurve
400- decay_value : float
401- def __init__ (self , property : _Optional [str ] = ..., origin : _Optional [float ] = ..., scale : _Optional [float ] = ..., offset : _Optional [float ] = ..., curve : _Optional [_Union [DecayCurve , str ]] = ..., decay_value : _Optional [float ] = ...) -> None : ...
395+ def __init__ (self , conditions : _Optional [_Iterable [_Union [Boost .Condition , _Mapping ]]] = ..., weight : _Optional [float ] = ..., depth : _Optional [int ] = ...) -> None : ...
0 commit comments