Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::AskContextsResponse.
Response message for VertexRagService.AskContexts.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#contexts
def contexts() -> ::Google::Cloud::AIPlatform::V1::RagContexts
Returns
- (::Google::Cloud::AIPlatform::V1::RagContexts) — The contexts of the query.
#contexts=
def contexts=(value) -> ::Google::Cloud::AIPlatform::V1::RagContexts
Parameter
- value (::Google::Cloud::AIPlatform::V1::RagContexts) — The contexts of the query.
Returns
- (::Google::Cloud::AIPlatform::V1::RagContexts) — The contexts of the query.
#response
def response() -> ::String
Returns
- (::String) — The Retrieval Response.
#response=
def response=(value) -> ::String
Parameter
- value (::String) — The Retrieval Response.
Returns
- (::String) — The Retrieval Response.