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.
Implements
IMessageRagRetrievalConfig, IEquatableRagRetrievalConfig, IDeepCloneableRagRetrievalConfig, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
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 |