Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::RagQuery (v0.61.0)

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

A query to retrieve relevant contexts.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#rag_retrieval_config

def rag_retrieval_config() -> ::Google::Cloud::AIPlatform::V1::RagRetrievalConfig
Returns

#rag_retrieval_config=

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

#text

def text() -> ::String
Returns
  • (::String) — Optional. The query in text format to get relevant contexts.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — Optional. The query in text format to get relevant contexts.
Returns
  • (::String) — Optional. The query in text format to get relevant contexts.