Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::RagRetrievalConfig.
Specifies the context retrieval config.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#filter
def filter() -> ::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Filter
Returns
- (::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Filter) — Optional. Config for filters.
#filter=
def filter=(value) -> ::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Filter
Parameter
- value (::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Filter) — Optional. Config for filters.
Returns
- (::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Filter) — Optional. Config for filters.
#top_k
def top_k() -> ::Integer
Returns
- (::Integer) — Optional. The number of contexts to retrieve.
#top_k=
def top_k=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The number of contexts to retrieve.
Returns
- (::Integer) — Optional. The number of contexts to retrieve.