Cloud AI Platform v1 API - Class RagRetrievalConfig (3.12.0)

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

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

Specifies the context retrieval config.

Inheritance

object > RagRetrievalConfig

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.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

TopK

public int TopK { get; set; }

Optional. The number of contexts to retrieve.

Property Value
Type Description
int