google-cloud-ai_platform-v1 0.36.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +6 -3
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +2 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +220 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +6 -1
- data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +4 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +7 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_service_services_pb.rb +12 -0
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +5 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +99 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +8 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +6 -3
- data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +2 -2
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +14 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +4 -2
- data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +16 -0
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +37 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +2 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +64 -0
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +11 -4
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +58 -9
- metadata +4 -116
@@ -25,17 +25,29 @@ module Google
|
|
25
25
|
#
|
26
26
|
# A `Tool` is a piece of code that enables the system to interact with
|
27
27
|
# external systems to perform an action, or set of actions, outside of
|
28
|
-
# knowledge and scope of the model.
|
28
|
+
# knowledge and scope of the model. A Tool object should contain exactly
|
29
|
+
# one type of Tool (e.g FunctionDeclaration, Retrieval or
|
30
|
+
# GoogleSearchRetrieval).
|
29
31
|
# @!attribute [rw] function_declarations
|
30
32
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::FunctionDeclaration>]
|
31
|
-
# Optional.
|
32
|
-
#
|
33
|
-
#
|
34
|
-
#
|
35
|
-
# [FunctionResponse][content.part.function_response]
|
36
|
-
# in the next turn. Based on the function responses,
|
37
|
-
# final response back to the user.
|
38
|
-
# provided.
|
33
|
+
# Optional. Function tool type.
|
34
|
+
# One or more function declarations to be passed to the model along with the
|
35
|
+
# current user query. Model may decide to call a subset of these functions
|
36
|
+
# by populating [FunctionCall][content.part.function_call] in the response.
|
37
|
+
# User should provide a [FunctionResponse][content.part.function_response]
|
38
|
+
# for each function call in the next turn. Based on the function responses,
|
39
|
+
# Model will generate the final response back to the user.
|
40
|
+
# Maximum 64 function declarations can be provided.
|
41
|
+
# @!attribute [rw] retrieval
|
42
|
+
# @return [::Google::Cloud::AIPlatform::V1::Retrieval]
|
43
|
+
# Optional. Retrieval tool type.
|
44
|
+
# System will always execute the provided retrieval tool(s) to get external
|
45
|
+
# knowledge to answer the prompt. Retrieval results are presented to the
|
46
|
+
# model for generation.
|
47
|
+
# @!attribute [rw] google_search_retrieval
|
48
|
+
# @return [::Google::Cloud::AIPlatform::V1::GoogleSearchRetrieval]
|
49
|
+
# Optional. GoogleSearchRetrieval tool type.
|
50
|
+
# Specialized retrieval tool that is powered by Google search.
|
39
51
|
class Tool
|
40
52
|
include ::Google::Protobuf::MessageExts
|
41
53
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -106,6 +118,43 @@ module Google
|
|
106
118
|
include ::Google::Protobuf::MessageExts
|
107
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
108
120
|
end
|
121
|
+
|
122
|
+
# Defines a retrieval tool that model can call to access external knowledge.
|
123
|
+
# @!attribute [rw] vertex_ai_search
|
124
|
+
# @return [::Google::Cloud::AIPlatform::V1::VertexAISearch]
|
125
|
+
# Set to use data source powered by Vertex AI Search.
|
126
|
+
# @!attribute [rw] disable_attribution
|
127
|
+
# @return [::Boolean]
|
128
|
+
# Optional. Disable using the result from this tool in detecting grounding
|
129
|
+
# attribution. This does not affect how the result is given to the model for
|
130
|
+
# generation.
|
131
|
+
class Retrieval
|
132
|
+
include ::Google::Protobuf::MessageExts
|
133
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
134
|
+
end
|
135
|
+
|
136
|
+
# Retrieve from Vertex AI Search datastore for grounding.
|
137
|
+
# See https://cloud.google.com/vertex-ai-search-and-conversation
|
138
|
+
# @!attribute [rw] datastore
|
139
|
+
# @return [::String]
|
140
|
+
# Required. Fully-qualified Vertex AI Search's datastore resource ID.
|
141
|
+
# Format:
|
142
|
+
# projects/\\{project}/locations/\\{location}/collections/\\{collection}/dataStores/\\{dataStore}
|
143
|
+
class VertexAISearch
|
144
|
+
include ::Google::Protobuf::MessageExts
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
146
|
+
end
|
147
|
+
|
148
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
149
|
+
# @!attribute [rw] disable_attribution
|
150
|
+
# @return [::Boolean]
|
151
|
+
# Optional. Disable using the result from this tool in detecting grounding
|
152
|
+
# attribution. This does not affect how the result is given to the model for
|
153
|
+
# generation.
|
154
|
+
class GoogleSearchRetrieval
|
155
|
+
include ::Google::Protobuf::MessageExts
|
156
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
157
|
+
end
|
109
158
|
end
|
110
159
|
end
|
111
160
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-ai_platform-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.38.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -84,118 +84,6 @@ dependencies:
|
|
84
84
|
- - "<"
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 2.a
|
87
|
-
- !ruby/object:Gem::Dependency
|
88
|
-
name: google-style
|
89
|
-
requirement: !ruby/object:Gem::Requirement
|
90
|
-
requirements:
|
91
|
-
- - "~>"
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: 1.26.3
|
94
|
-
type: :development
|
95
|
-
prerelease: false
|
96
|
-
version_requirements: !ruby/object:Gem::Requirement
|
97
|
-
requirements:
|
98
|
-
- - "~>"
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 1.26.3
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
|
-
name: minitest
|
103
|
-
requirement: !ruby/object:Gem::Requirement
|
104
|
-
requirements:
|
105
|
-
- - "~>"
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
version: '5.16'
|
108
|
-
type: :development
|
109
|
-
prerelease: false
|
110
|
-
version_requirements: !ruby/object:Gem::Requirement
|
111
|
-
requirements:
|
112
|
-
- - "~>"
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version: '5.16'
|
115
|
-
- !ruby/object:Gem::Dependency
|
116
|
-
name: minitest-focus
|
117
|
-
requirement: !ruby/object:Gem::Requirement
|
118
|
-
requirements:
|
119
|
-
- - "~>"
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: '1.1'
|
122
|
-
type: :development
|
123
|
-
prerelease: false
|
124
|
-
version_requirements: !ruby/object:Gem::Requirement
|
125
|
-
requirements:
|
126
|
-
- - "~>"
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
version: '1.1'
|
129
|
-
- !ruby/object:Gem::Dependency
|
130
|
-
name: minitest-rg
|
131
|
-
requirement: !ruby/object:Gem::Requirement
|
132
|
-
requirements:
|
133
|
-
- - "~>"
|
134
|
-
- !ruby/object:Gem::Version
|
135
|
-
version: '5.2'
|
136
|
-
type: :development
|
137
|
-
prerelease: false
|
138
|
-
version_requirements: !ruby/object:Gem::Requirement
|
139
|
-
requirements:
|
140
|
-
- - "~>"
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: '5.2'
|
143
|
-
- !ruby/object:Gem::Dependency
|
144
|
-
name: rake
|
145
|
-
requirement: !ruby/object:Gem::Requirement
|
146
|
-
requirements:
|
147
|
-
- - ">="
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: '13.0'
|
150
|
-
type: :development
|
151
|
-
prerelease: false
|
152
|
-
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
requirements:
|
154
|
-
- - ">="
|
155
|
-
- !ruby/object:Gem::Version
|
156
|
-
version: '13.0'
|
157
|
-
- !ruby/object:Gem::Dependency
|
158
|
-
name: redcarpet
|
159
|
-
requirement: !ruby/object:Gem::Requirement
|
160
|
-
requirements:
|
161
|
-
- - "~>"
|
162
|
-
- !ruby/object:Gem::Version
|
163
|
-
version: '3.0'
|
164
|
-
type: :development
|
165
|
-
prerelease: false
|
166
|
-
version_requirements: !ruby/object:Gem::Requirement
|
167
|
-
requirements:
|
168
|
-
- - "~>"
|
169
|
-
- !ruby/object:Gem::Version
|
170
|
-
version: '3.0'
|
171
|
-
- !ruby/object:Gem::Dependency
|
172
|
-
name: simplecov
|
173
|
-
requirement: !ruby/object:Gem::Requirement
|
174
|
-
requirements:
|
175
|
-
- - "~>"
|
176
|
-
- !ruby/object:Gem::Version
|
177
|
-
version: '0.18'
|
178
|
-
type: :development
|
179
|
-
prerelease: false
|
180
|
-
version_requirements: !ruby/object:Gem::Requirement
|
181
|
-
requirements:
|
182
|
-
- - "~>"
|
183
|
-
- !ruby/object:Gem::Version
|
184
|
-
version: '0.18'
|
185
|
-
- !ruby/object:Gem::Dependency
|
186
|
-
name: yard
|
187
|
-
requirement: !ruby/object:Gem::Requirement
|
188
|
-
requirements:
|
189
|
-
- - "~>"
|
190
|
-
- !ruby/object:Gem::Version
|
191
|
-
version: '0.9'
|
192
|
-
type: :development
|
193
|
-
prerelease: false
|
194
|
-
version_requirements: !ruby/object:Gem::Requirement
|
195
|
-
requirements:
|
196
|
-
- - "~>"
|
197
|
-
- !ruby/object:Gem::Version
|
198
|
-
version: '0.9'
|
199
87
|
description: Vertex AI enables data scientists, developers, and AI newcomers to create
|
200
88
|
custom machine learning models specific to their business needs by leveraging Google's
|
201
89
|
state-of-the-art transfer learning and innovative AI research. Note that google-cloud-ai_platform-v1
|
@@ -604,14 +492,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
604
492
|
requirements:
|
605
493
|
- - ">="
|
606
494
|
- !ruby/object:Gem::Version
|
607
|
-
version: '2.
|
495
|
+
version: '2.7'
|
608
496
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
609
497
|
requirements:
|
610
498
|
- - ">="
|
611
499
|
- !ruby/object:Gem::Version
|
612
500
|
version: '0'
|
613
501
|
requirements: []
|
614
|
-
rubygems_version: 3.5.
|
502
|
+
rubygems_version: 3.5.6
|
615
503
|
signing_key:
|
616
504
|
specification_version: 4
|
617
505
|
summary: Train high-quality custom machine learning models with minimal machine learning
|