Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::GenAiAdvancedFeaturesConfig::RagConfig (v1.17.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::GenAiAdvancedFeaturesConfig::RagConfig.

Configuration for Retrieval Augmented Generation feature.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enable_rag

def enable_rag() -> ::Boolean
Returns
  • (::Boolean) — If true, enable Retrieval Augmented Generation in ChatCompletion request. Once enabled, the endpoint will be identified as GenAI endpoint and Arthedain router will be used.

#enable_rag=

def enable_rag=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, enable Retrieval Augmented Generation in ChatCompletion request. Once enabled, the endpoint will be identified as GenAI endpoint and Arthedain router will be used.
Returns
  • (::Boolean) — If true, enable Retrieval Augmented Generation in ChatCompletion request. Once enabled, the endpoint will be identified as GenAI endpoint and Arthedain router will be used.