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
- (::Google::Cloud::AIPlatform::V1::RagRetrievalConfig) — Optional. The retrieval config for the query.
#rag_retrieval_config=
def rag_retrieval_config=(value) -> ::Google::Cloud::AIPlatform::V1::RagRetrievalConfig
Parameter
- value (::Google::Cloud::AIPlatform::V1::RagRetrievalConfig) — Optional. The retrieval config for the query.
Returns
- (::Google::Cloud::AIPlatform::V1::RagRetrievalConfig) — Optional. The retrieval config for the query.
#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.