Class: Turbopuffer::Models::FuzzyParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Turbopuffer::Models::FuzzyParams
- Defined in:
- lib/turbopuffer/models/fuzzy_params.rb
Instance Attribute Summary collapse
-
#max_edit_distance ⇒ Array<Turbopuffer::Models::FuzzyMaxEditDistance>
Maximum edit distance allowed at each query length.
Instance Method Summary collapse
-
#initialize(max_edit_distance:) ⇒ Object
constructor
Some parameter documentations has been truncated, see FuzzyParams for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(max_edit_distance:) ⇒ Object
Some parameter documentations has been truncated, see Turbopuffer::Models::FuzzyParams for more details.
Additional parameters for the Fuzzy filter.
|
|
# File 'lib/turbopuffer/models/fuzzy_params.rb', line 14
|
Instance Attribute Details
#max_edit_distance ⇒ Array<Turbopuffer::Models::FuzzyMaxEditDistance>
Maximum edit distance allowed at each query length. Queries shorter than the first threshold return no matches.
11 12 |
# File 'lib/turbopuffer/models/fuzzy_params.rb', line 11 required :max_edit_distance, -> { Turbopuffer::Internal::Type::ArrayOf[Turbopuffer::FuzzyMaxEditDistance] } |