RagEmbeddingModelConfig_SparseEmbeddingConfig_Bm25 class final
Message for BM25 parameters.
- Inheritance
-
- Object
- ProtoMessage
- RagEmbeddingModelConfig_SparseEmbeddingConfig_Bm25
Constructors
- RagEmbeddingModelConfig_SparseEmbeddingConfig_Bm25({bool multilingual = false, double? k1, double? b})
- RagEmbeddingModelConfig_SparseEmbeddingConfig_Bm25.fromJson(Object? j)
-
factory
Properties
- b → double?
-
Optional. The parameter to control document length normalization. It
determines how much the document length affects the final score. b is
in the range of
0, 1. The default value is 0.75.final - hashCode → int
-
The hash code for this object.
no setterinherited
- k1 → double?
-
Optional. The parameter to control term frequency saturation. It
determines the scaling between the matching term frequency and final
score. k1 is in the range of
1.2, 3. The default value is 1.2.final - multilingual → bool
-
Optional. Use multilingual tokenizer if set to true.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String