Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AskContextsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AskContextsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Agentic Retrieval Ask API for RAG. Request message for VertexRagService. AskContexts.
Instance Attribute Summary collapse
-
#query ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagQuery
A query to retrieve relevant contexts.
-
#tools ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AskContextsRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1AskContextsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AskContextsRequest
Returns a new instance of GoogleCloudAiplatformV1beta1AskContextsRequest.
1701 1702 1703 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1701 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagQuery
A query to retrieve relevant contexts.
Corresponds to the JSON property query
1694 1695 1696 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1694 def query @query end |
#tools ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool>
Optional. The tools to use for AskContexts.
Corresponds to the JSON property tools
1699 1700 1701 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1699 def tools @tools end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1706 1707 1708 1709 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1706 def update!(**args) @query = args[:query] if args.key?(:query) @tools = args[:tools] if args.key?(:tools) end |