public sealed class RagEmbeddingModelConfig.Types.SparseEmbeddingConfig : IMessage<RagEmbeddingModelConfig.Types.SparseEmbeddingConfig>, IEquatable<RagEmbeddingModelConfig.Types.SparseEmbeddingConfig>, IDeepCloneable<RagEmbeddingModelConfig.Types.SparseEmbeddingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class RagEmbeddingModelConfig.Types.SparseEmbeddingConfig.
Configuration for sparse emebdding generation.
Implements
IMessageRagEmbeddingModelConfigTypesSparseEmbeddingConfig, IEquatableRagEmbeddingModelConfigTypesSparseEmbeddingConfig, IDeepCloneableRagEmbeddingModelConfigTypesSparseEmbeddingConfig, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
SparseEmbeddingConfig()
public SparseEmbeddingConfig()
SparseEmbeddingConfig(SparseEmbeddingConfig)
public SparseEmbeddingConfig(RagEmbeddingModelConfig.Types.SparseEmbeddingConfig other)
Parameter | |
---|---|
Name | Description |
other |
RagEmbeddingModelConfigTypesSparseEmbeddingConfig |
Properties
Bm25
public RagEmbeddingModelConfig.Types.SparseEmbeddingConfig.Types.Bm25 Bm25 { get; set; }
Use BM25 scoring algorithm.
Property Value | |
---|---|
Type | Description |
RagEmbeddingModelConfigTypesSparseEmbeddingConfigTypesBm25 |
ModelCase
public RagEmbeddingModelConfig.Types.SparseEmbeddingConfig.ModelOneofCase ModelCase { get; }
Property Value | |
---|---|
Type | Description |
RagEmbeddingModelConfigTypesSparseEmbeddingConfigModelOneofCase |