public sealed class RagEmbeddingModelConfig.Types.SparseEmbeddingConfig.Types.Bm25 : IMessage<RagEmbeddingModelConfig.Types.SparseEmbeddingConfig.Types.Bm25>, IEquatable<RagEmbeddingModelConfig.Types.SparseEmbeddingConfig.Types.Bm25>, IDeepCloneable<RagEmbeddingModelConfig.Types.SparseEmbeddingConfig.Types.Bm25>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class RagEmbeddingModelConfig.Types.SparseEmbeddingConfig.Types.Bm25.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eBm25\u003c/code\u003e class, which is part of the Vertex AI v1beta1 API and specifically the \u003ccode\u003eRagEmbeddingModelConfig.Types.SparseEmbeddingConfig.Types\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBm25\u003c/code\u003e class is a message used to configure BM25 parameters, implementing several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inheriting from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBm25\u003c/code\u003e class has properties \u003ccode\u003eB\u003c/code\u003e and \u003ccode\u003eK1\u003c/code\u003e which are configurable parameters, both represented as floats, that influence document length normalization and term frequency saturation, respectively, with defined default and acceptable values.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers a \u003ccode\u003eMultilingual\u003c/code\u003e boolean property to use a multilingual tokenizer.\u003c/p\u003e\n"],["\u003cp\u003eThe document also details the constructors available for creating \u003ccode\u003eBm25\u003c/code\u003e instances, including a default constructor and one that takes another \u003ccode\u003eBm25\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"]]],[],null,[]]