Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::RagRetrievalConfig (v0.59.0)

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

#filter=

def filter=(value) -> ::Google::Cloud::AIPlatform::V1::RagRetrievalConfig::Filter
Parameter
Returns

#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.