Cloud AI Platform v1beta1 API - Class RagRetrievalConfig (1.0.0-beta11)

public sealed class RagRetrievalConfig : IMessage<RagRetrievalConfig>, IEquatable<RagRetrievalConfig>, IDeepCloneable<RagRetrievalConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class RagRetrievalConfig.

Specifies the context retrieval config.

Inheritance

object > RagRetrievalConfig

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

RagRetrievalConfig()

public RagRetrievalConfig()

RagRetrievalConfig(RagRetrievalConfig)

public RagRetrievalConfig(RagRetrievalConfig other)
Parameter
Name Description
other RagRetrievalConfig

Properties

Filter

public RagRetrievalConfig.Types.Filter Filter { get; set; }

Optional. Config for filters.

Property Value
Type Description
RagRetrievalConfigTypesFilter

HybridSearch

public RagRetrievalConfig.Types.HybridSearch HybridSearch { get; set; }

Optional. Config for Hybrid Search.

Property Value
Type Description
RagRetrievalConfigTypesHybridSearch

Ranking

public RagRetrievalConfig.Types.Ranking Ranking { get; set; }

Optional. Config for ranking and reranking.

Property Value
Type Description
RagRetrievalConfigTypesRanking

TopK

public int TopK { get; set; }

Optional. The number of contexts to retrieve.

Property Value
Type Description
int