Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AsyncRetrieveContextsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AsyncRetrieveContextsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Request message for VertexRagService.AsyncRetrieveContexts.
Instance Attribute Summary collapse
-
#query ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagQuery
A query to retrieve relevant contexts.
-
#tools ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1AsyncRetrieveContextsRequest
constructor
A new instance of GoogleCloudAiplatformV1AsyncRetrieveContextsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1AsyncRetrieveContextsRequest
Returns a new instance of GoogleCloudAiplatformV1AsyncRetrieveContextsRequest.
1898 1899 1900 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1898 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagQuery
A query to retrieve relevant contexts.
Corresponds to the JSON property query
1891 1892 1893 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1891 def query @query end |
#tools ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool>
Optional. The tools to use for AskContexts.
Corresponds to the JSON property tools
1896 1897 1898 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1896 def tools @tools end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1903 1904 1905 1906 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1903 def update!(**args) @query = args[:query] if args.key?(:query) @tools = args[:tools] if args.key?(:tools) end |