google-cloud-ai_platform-v1 1.10.0 → 1.11.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/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/service_stub.rb +2 -2
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +6 -6
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/service_stub.rb +2 -2
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/service_stub.rb +2 -2
- 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/vertex_rag_data_pb.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +7 -0
- data/proto_docs/google/cloud/aiplatform/v1/io.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb +29 -0
- metadata +14 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e480de69bff3c5f5c8dd8ca4d34d2a74d98d2e7ac1eaeae007c7dc235d0d43ef
|
4
|
+
data.tar.gz: e3ee2279f731be3e6bf6150d06b4e305457f17a7463a5799a17ef896c1bdd1e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66f9e6b5cae48c412bae4beb5d5693a9297f1b9797e99b9f7c2cb2ce1e476addb908832c3a56e4f42673f1483471b0329e9ce60c540da9c6a33884c3c029cc4c
|
7
|
+
data.tar.gz: c21e934b3d9c238e891f646e38de0ced12ab6ce34269b7f22f1dc3f1aba8eaf60e332a3d4a49cbc25c3f05150cf525f1b7baaaec97692528b8d21dc090bfa412
|
data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/service_stub.rb
CHANGED
@@ -124,7 +124,7 @@ module Google
|
|
124
124
|
# @yieldparam chunk [::String] The chunk of data received during server streaming.
|
125
125
|
#
|
126
126
|
# @return [::Gapic::Rest::TransportOperation]
|
127
|
-
def streaming_read_feature_values
|
127
|
+
def streaming_read_feature_values(request_pb, options = nil, &)
|
128
128
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
129
129
|
|
130
130
|
verb, uri, query_string_params, body = ServiceStub.transcode_streaming_read_feature_values_request request_pb
|
@@ -142,7 +142,7 @@ module Google
|
|
142
142
|
method_name: "streaming_read_feature_values",
|
143
143
|
options: options,
|
144
144
|
is_server_streaming: true,
|
145
|
-
&
|
145
|
+
&
|
146
146
|
)
|
147
147
|
::Gapic::Rest::TransportOperation.new response
|
148
148
|
end
|
@@ -164,7 +164,7 @@ module Google
|
|
164
164
|
# @yieldparam chunk [::String] The chunk of data received during server streaming.
|
165
165
|
#
|
166
166
|
# @return [::Gapic::Rest::TransportOperation]
|
167
|
-
def stream_raw_predict
|
167
|
+
def stream_raw_predict(request_pb, options = nil, &)
|
168
168
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
169
169
|
|
170
170
|
verb, uri, query_string_params, body = ServiceStub.transcode_stream_raw_predict_request request_pb
|
@@ -182,7 +182,7 @@ module Google
|
|
182
182
|
method_name: "stream_raw_predict",
|
183
183
|
options: options,
|
184
184
|
is_server_streaming: true,
|
185
|
-
&
|
185
|
+
&
|
186
186
|
)
|
187
187
|
::Gapic::Rest::TransportOperation.new response
|
188
188
|
end
|
@@ -278,7 +278,7 @@ module Google
|
|
278
278
|
# @yieldparam chunk [::String] The chunk of data received during server streaming.
|
279
279
|
#
|
280
280
|
# @return [::Gapic::Rest::TransportOperation]
|
281
|
-
def server_streaming_predict
|
281
|
+
def server_streaming_predict(request_pb, options = nil, &)
|
282
282
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
283
283
|
|
284
284
|
verb, uri, query_string_params, body = ServiceStub.transcode_server_streaming_predict_request request_pb
|
@@ -296,7 +296,7 @@ module Google
|
|
296
296
|
method_name: "server_streaming_predict",
|
297
297
|
options: options,
|
298
298
|
is_server_streaming: true,
|
299
|
-
&
|
299
|
+
&
|
300
300
|
)
|
301
301
|
::Gapic::Rest::TransportOperation.new response
|
302
302
|
end
|
@@ -392,7 +392,7 @@ module Google
|
|
392
392
|
# @yieldparam chunk [::String] The chunk of data received during server streaming.
|
393
393
|
#
|
394
394
|
# @return [::Gapic::Rest::TransportOperation]
|
395
|
-
def stream_generate_content
|
395
|
+
def stream_generate_content(request_pb, options = nil, &)
|
396
396
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
397
397
|
|
398
398
|
verb, uri, query_string_params, body = ServiceStub.transcode_stream_generate_content_request request_pb
|
@@ -410,7 +410,7 @@ module Google
|
|
410
410
|
method_name: "stream_generate_content",
|
411
411
|
options: options,
|
412
412
|
is_server_streaming: true,
|
413
|
-
&
|
413
|
+
&
|
414
414
|
)
|
415
415
|
::Gapic::Rest::TransportOperation.new response
|
416
416
|
end
|
data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/rest/service_stub.rb
CHANGED
@@ -124,7 +124,7 @@ module Google
|
|
124
124
|
# @yieldparam chunk [::String] The chunk of data received during server streaming.
|
125
125
|
#
|
126
126
|
# @return [::Gapic::Rest::TransportOperation]
|
127
|
-
def stream_query_reasoning_engine
|
127
|
+
def stream_query_reasoning_engine(request_pb, options = nil, &)
|
128
128
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
129
129
|
|
130
130
|
verb, uri, query_string_params, body = ServiceStub.transcode_stream_query_reasoning_engine_request request_pb
|
@@ -142,7 +142,7 @@ module Google
|
|
142
142
|
method_name: "stream_query_reasoning_engine",
|
143
143
|
options: options,
|
144
144
|
is_server_streaming: true,
|
145
|
-
&
|
145
|
+
&
|
146
146
|
)
|
147
147
|
::Gapic::Rest::TransportOperation.new response
|
148
148
|
end
|
@@ -1124,7 +1124,7 @@ module Google
|
|
1124
1124
|
# @yieldparam chunk [::String] The chunk of data received during server streaming.
|
1125
1125
|
#
|
1126
1126
|
# @return [::Gapic::Rest::TransportOperation]
|
1127
|
-
def read_tensorboard_blob_data
|
1127
|
+
def read_tensorboard_blob_data(request_pb, options = nil, &)
|
1128
1128
|
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
1129
1129
|
|
1130
1130
|
verb, uri, query_string_params, body = ServiceStub.transcode_read_tensorboard_blob_data_request request_pb
|
@@ -1142,7 +1142,7 @@ module Google
|
|
1142
1142
|
method_name: "read_tensorboard_blob_data",
|
1143
1143
|
options: options,
|
1144
1144
|
is_server_streaming: true,
|
1145
|
-
&
|
1145
|
+
&
|
1146
1146
|
)
|
1147
1147
|
::Gapic::Rest::TransportOperation.new response
|
1148
1148
|
end
|
@@ -5,7 +5,7 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
|
8
|
-
descriptor_data = "\n1google/cloud/aiplatform/v1/accelerator_type.proto\x12\x1agoogle.cloud.aiplatform.v1*\
|
8
|
+
descriptor_data = "\n1google/cloud/aiplatform/v1/accelerator_type.proto\x12\x1agoogle.cloud.aiplatform.v1*\xf6\x02\n\x0f\x41\x63\x63\x65leratorType\x12 \n\x1c\x41\x43\x43\x45LERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x10NVIDIA_TESLA_K80\x10\x01\x1a\x02\x08\x01\x12\x15\n\x11NVIDIA_TESLA_P100\x10\x02\x12\x15\n\x11NVIDIA_TESLA_V100\x10\x03\x12\x13\n\x0fNVIDIA_TESLA_P4\x10\x04\x12\x13\n\x0fNVIDIA_TESLA_T4\x10\x05\x12\x15\n\x11NVIDIA_TESLA_A100\x10\x08\x12\x14\n\x10NVIDIA_A100_80GB\x10\t\x12\r\n\tNVIDIA_L4\x10\x0b\x12\x14\n\x10NVIDIA_H100_80GB\x10\r\x12\x19\n\x15NVIDIA_H100_MEGA_80GB\x10\x0e\x12\x15\n\x11NVIDIA_H200_141GB\x10\x0f\x12\x0f\n\x0bNVIDIA_B200\x10\x10\x12\n\n\x06TPU_V2\x10\x06\x12\n\n\x06TPU_V3\x10\x07\x12\x0e\n\nTPU_V4_POD\x10\n\x12\x12\n\x0eTPU_V5_LITEPOD\x10\x0c\x42\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14\x41\x63\x63\x65leratorTypeProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
11
|
|
@@ -11,7 +11,7 @@ require 'google/cloud/aiplatform/v1/io_pb'
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n0google/cloud/aiplatform/v1/vertex_rag_data.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/aiplatform/v1/api_auth.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcf\x02\n\x17RagEmbeddingModelConfig\x12r\n\x1avertex_prediction_endpoint\x18\x01 \x01(\x0b\x32L.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpointH\x00\x1a\xaf\x01\n\x18VertexPredictionEndpoint\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x36\n\x05model\x18\x02 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12\x1d\n\x10model_version_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x0e\n\x0cmodel_config\"\xa9\x04\n\x11RagVectorDbConfig\x12T\n\x0erag_managed_db\x18\x01 \x01(\x0b\x32:.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDbH\x00\x12J\n\x08pinecone\x18\x03 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.RagVectorDbConfig.PineconeH\x00\x12`\n\x14vertex_vector_search\x18\x06 \x01(\x0b\x32@.google.cloud.aiplatform.v1.RagVectorDbConfig.VertexVectorSearchH\x00\x12\x35\n\x08\x61pi_auth\x18\x05 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ApiAuth\x12_\n\x1arag_embedding_model_config\x18\x07 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.RagEmbeddingModelConfigB\x06\xe0\x41\x01\xe0\x41\x05\x1a\x0e\n\x0cRagManagedDb\x1a\x1e\n\x08Pinecone\x12\x12\n\nindex_name\x18\x01 \x01(\t\x1a;\n\x12VertexVectorSearch\x12\x16\n\x0eindex_endpoint\x18\x01 \x01(\t\x12\r\n\x05index\x18\x02 \x01(\tB\x0b\n\tvector_db\"\xa0\x01\n\nFileStatus\x12@\n\x05state\x18\x01 \x01(\x0e\x32,.google.cloud.aiplatform.v1.FileStatus.StateB\x03\xe0\x41\x03\x12\x19\n\x0c\x65rror_status\x18\x02 \x01(\tB\x03\xe0\x41\x03\"5\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\t\n\x05\x45RROR\x10\x02\".\n\x14VertexAiSearchConfig\x12\x16\n\x0eserving_config\x18\x01 \x01(\t\"\xab\x01\n\x0c\x43orpusStatus\x12\x42\n\x05state\x18\x01 \x01(\x0e\x32..google.cloud.aiplatform.v1.CorpusStatus.StateB\x03\xe0\x41\x03\x12\x19\n\x0c\x65rror_status\x18\x02 \x01(\tB\x03\xe0\x41\x03\"<\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0f\n\x0bINITIALIZED\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"\xca\x04\n\tRagCorpus\x12Q\n\x10vector_db_config\x18\t \x01(\x0b\x32-.google.cloud.aiplatform.v1.RagVectorDbConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12[\n\x17vertex_ai_search_config\x18\n \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.VertexAiSearchConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\rcorpus_status\x18\x08 \x01(\x0b\x32(.google.cloud.aiplatform.v1.CorpusStatusB\x03\xe0\x41\x03:\x80\x01\xea\x41}\n#aiplatform.googleapis.com/RagCorpus\x12?projects/{project}/locations/{location}/ragCorpora/{rag_corpus}*\nragCorpora2\tragCorpusB\x10\n\x0e\x62\x61\x63kend_config\"\xdc\x06\n\x07RagFile\x12@\n\ngcs_source\x18\x08 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceB\x03\xe0\x41\x03H\x00\x12Q\n\x13google_drive_source\x18\t \x01(\x0b\x32-.google.cloud.aiplatform.v1.GoogleDriveSourceB\x03\xe0\x41\x03H\x00\x12S\n\x14\x64irect_upload_source\x18\n \x01(\x0b\x32..google.cloud.aiplatform.v1.DirectUploadSourceB\x03\xe0\x41\x03H\x00\x12?\n\x0cslack_source\x18\x0b \x01(\x0b\x32\'.google.cloud.aiplatform.v1.SlackSourceH\x00\x12=\n\x0bjira_source\x18\x0c \x01(\x0b\x32&.google.cloud.aiplatform.v1.JiraSourceH\x00\x12L\n\x13share_point_sources\x18\x0e \x01(\x0b\x32-.google.cloud.aiplatform.v1.SharePointSourcesH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x0b\x66ile_status\x18\r \x01(\x0b\x32&.google.cloud.aiplatform.v1.FileStatusB\x03\xe0\x41\x03:\x8f\x01\xea\x41\x8b\x01\n!aiplatform.googleapis.com/RagFile\x12Sprojects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}*\x08ragFiles2\x07ragFileB\x11\n\x0frag_file_source\"\xa0\x01\n\x08RagChunk\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x45\n\tpage_span\x18\x02 \x01(\x0b\x32-.google.cloud.aiplatform.v1.RagChunk.PageSpanH\x00\x88\x01\x01\x1a\x31\n\x08PageSpan\x12\x12\n\nfirst_page\x18\x01 \x01(\x05\x12\x11\n\tlast_page\x18\x02 \x01(\x05\x42\x0c\n\n_page_span\"\xd4\x01\n\x15RagFileChunkingConfig\x12\x66\n\x15\x66ixed_length_chunking\x18\x03 \x01(\x0b\x32\x45.google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunkingH\x00\x1a@\n\x13\x46ixedLengthChunking\x12\x12\n\nchunk_size\x18\x01 \x01(\x05\x12\x15\n\rchunk_overlap\x18\x02 \x01(\x05\x42\x11\n\x0f\x63hunking_config\"r\n\x1bRagFileTransformationConfig\x12S\n\x18rag_file_chunking_config\x18\x01 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.RagFileChunkingConfig\"\
|
14
|
+
descriptor_data = "\n0google/cloud/aiplatform/v1/vertex_rag_data.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/aiplatform/v1/api_auth.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcf\x02\n\x17RagEmbeddingModelConfig\x12r\n\x1avertex_prediction_endpoint\x18\x01 \x01(\x0b\x32L.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpointH\x00\x1a\xaf\x01\n\x18VertexPredictionEndpoint\x12<\n\x08\x65ndpoint\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Endpoint\x12\x36\n\x05model\x18\x02 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Model\x12\x1d\n\x10model_version_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x42\x0e\n\x0cmodel_config\"\xa9\x04\n\x11RagVectorDbConfig\x12T\n\x0erag_managed_db\x18\x01 \x01(\x0b\x32:.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDbH\x00\x12J\n\x08pinecone\x18\x03 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.RagVectorDbConfig.PineconeH\x00\x12`\n\x14vertex_vector_search\x18\x06 \x01(\x0b\x32@.google.cloud.aiplatform.v1.RagVectorDbConfig.VertexVectorSearchH\x00\x12\x35\n\x08\x61pi_auth\x18\x05 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ApiAuth\x12_\n\x1arag_embedding_model_config\x18\x07 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.RagEmbeddingModelConfigB\x06\xe0\x41\x01\xe0\x41\x05\x1a\x0e\n\x0cRagManagedDb\x1a\x1e\n\x08Pinecone\x12\x12\n\nindex_name\x18\x01 \x01(\t\x1a;\n\x12VertexVectorSearch\x12\x16\n\x0eindex_endpoint\x18\x01 \x01(\t\x12\r\n\x05index\x18\x02 \x01(\tB\x0b\n\tvector_db\"\xa0\x01\n\nFileStatus\x12@\n\x05state\x18\x01 \x01(\x0e\x32,.google.cloud.aiplatform.v1.FileStatus.StateB\x03\xe0\x41\x03\x12\x19\n\x0c\x65rror_status\x18\x02 \x01(\tB\x03\xe0\x41\x03\"5\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\t\n\x05\x45RROR\x10\x02\".\n\x14VertexAiSearchConfig\x12\x16\n\x0eserving_config\x18\x01 \x01(\t\"\xab\x01\n\x0c\x43orpusStatus\x12\x42\n\x05state\x18\x01 \x01(\x0e\x32..google.cloud.aiplatform.v1.CorpusStatus.StateB\x03\xe0\x41\x03\x12\x19\n\x0c\x65rror_status\x18\x02 \x01(\tB\x03\xe0\x41\x03\"<\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0f\n\x0bINITIALIZED\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"\xca\x04\n\tRagCorpus\x12Q\n\x10vector_db_config\x18\t \x01(\x0b\x32-.google.cloud.aiplatform.v1.RagVectorDbConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12[\n\x17vertex_ai_search_config\x18\n \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.VertexAiSearchConfigB\x06\xe0\x41\x01\xe0\x41\x05H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\rcorpus_status\x18\x08 \x01(\x0b\x32(.google.cloud.aiplatform.v1.CorpusStatusB\x03\xe0\x41\x03:\x80\x01\xea\x41}\n#aiplatform.googleapis.com/RagCorpus\x12?projects/{project}/locations/{location}/ragCorpora/{rag_corpus}*\nragCorpora2\tragCorpusB\x10\n\x0e\x62\x61\x63kend_config\"\xdc\x06\n\x07RagFile\x12@\n\ngcs_source\x18\x08 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceB\x03\xe0\x41\x03H\x00\x12Q\n\x13google_drive_source\x18\t \x01(\x0b\x32-.google.cloud.aiplatform.v1.GoogleDriveSourceB\x03\xe0\x41\x03H\x00\x12S\n\x14\x64irect_upload_source\x18\n \x01(\x0b\x32..google.cloud.aiplatform.v1.DirectUploadSourceB\x03\xe0\x41\x03H\x00\x12?\n\x0cslack_source\x18\x0b \x01(\x0b\x32\'.google.cloud.aiplatform.v1.SlackSourceH\x00\x12=\n\x0bjira_source\x18\x0c \x01(\x0b\x32&.google.cloud.aiplatform.v1.JiraSourceH\x00\x12L\n\x13share_point_sources\x18\x0e \x01(\x0b\x32-.google.cloud.aiplatform.v1.SharePointSourcesH\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x0b\x66ile_status\x18\r \x01(\x0b\x32&.google.cloud.aiplatform.v1.FileStatusB\x03\xe0\x41\x03:\x8f\x01\xea\x41\x8b\x01\n!aiplatform.googleapis.com/RagFile\x12Sprojects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}*\x08ragFiles2\x07ragFileB\x11\n\x0frag_file_source\"\xa0\x01\n\x08RagChunk\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x45\n\tpage_span\x18\x02 \x01(\x0b\x32-.google.cloud.aiplatform.v1.RagChunk.PageSpanH\x00\x88\x01\x01\x1a\x31\n\x08PageSpan\x12\x12\n\nfirst_page\x18\x01 \x01(\x05\x12\x11\n\tlast_page\x18\x02 \x01(\x05\x42\x0c\n\n_page_span\"\xd4\x01\n\x15RagFileChunkingConfig\x12\x66\n\x15\x66ixed_length_chunking\x18\x03 \x01(\x0b\x32\x45.google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunkingH\x00\x1a@\n\x13\x46ixedLengthChunking\x12\x12\n\nchunk_size\x18\x01 \x01(\x05\x12\x15\n\rchunk_overlap\x18\x02 \x01(\x05\x42\x11\n\x0f\x63hunking_config\"r\n\x1bRagFileTransformationConfig\x12S\n\x18rag_file_chunking_config\x18\x01 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.RagFileChunkingConfig\"\xfe\x02\n\x14RagFileParsingConfig\x12V\n\rlayout_parser\x18\x04 \x01(\x0b\x32=.google.cloud.aiplatform.v1.RagFileParsingConfig.LayoutParserH\x00\x12P\n\nllm_parser\x18\x05 \x01(\x0b\x32:.google.cloud.aiplatform.v1.RagFileParsingConfig.LlmParserH\x00\x1aL\n\x0cLayoutParser\x12\x16\n\x0eprocessor_name\x18\x01 \x01(\t\x12$\n\x1cmax_parsing_requests_per_min\x18\x02 \x01(\x05\x1a\x64\n\tLlmParser\x12\x12\n\nmodel_name\x18\x01 \x01(\t\x12$\n\x1cmax_parsing_requests_per_min\x18\x02 \x01(\x05\x12\x1d\n\x15\x63ustom_parsing_prompt\x18\x03 \x01(\tB\x08\n\x06parser\"v\n\x13UploadRagFileConfig\x12_\n\x1erag_file_transformation_config\x18\x03 \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.RagFileTransformationConfig\"\xec\x07\n\x14ImportRagFilesConfig\x12;\n\ngcs_source\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12L\n\x13google_drive_source\x18\x03 \x01(\x0b\x32-.google.cloud.aiplatform.v1.GoogleDriveSourceH\x00\x12?\n\x0cslack_source\x18\x06 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.SlackSourceH\x00\x12=\n\x0bjira_source\x18\x07 \x01(\x0b\x32&.google.cloud.aiplatform.v1.JiraSourceH\x00\x12L\n\x13share_point_sources\x18\r \x01(\x0b\x32-.google.cloud.aiplatform.v1.SharePointSourcesH\x00\x12R\n\x18partial_failure_gcs_sink\x18\x0b \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationB\x02\x18\x01H\x01\x12\\\n\x1dpartial_failure_bigquery_sink\x18\x0c \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationB\x02\x18\x01H\x01\x12L\n\x16import_result_gcs_sink\x18\x0e \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationH\x02\x12V\n\x1bimport_result_bigquery_sink\x18\x0f \x01(\x0b\x32/.google.cloud.aiplatform.v1.BigQueryDestinationH\x02\x12_\n\x1erag_file_transformation_config\x18\x10 \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.RagFileTransformationConfig\x12V\n\x17rag_file_parsing_config\x18\x08 \x01(\x0b\x32\x30.google.cloud.aiplatform.v1.RagFileParsingConfigB\x03\xe0\x41\x01\x12+\n\x1emax_embedding_requests_per_min\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x42\x0f\n\rimport_sourceB\x16\n\x14partial_failure_sinkB\x14\n\x12import_result_sinkB\xd0\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x12VertexRagDataProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -64,6 +64,7 @@ module Google
|
|
64
64
|
RagFileTransformationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RagFileTransformationConfig").msgclass
|
65
65
|
RagFileParsingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RagFileParsingConfig").msgclass
|
66
66
|
RagFileParsingConfig::LayoutParser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RagFileParsingConfig.LayoutParser").msgclass
|
67
|
+
RagFileParsingConfig::LlmParser = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RagFileParsingConfig.LlmParser").msgclass
|
67
68
|
UploadRagFileConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UploadRagFileConfig").msgclass
|
68
69
|
ImportRagFilesConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ImportRagFilesConfig").msgclass
|
69
70
|
end
|
@@ -21,6 +21,7 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module AIPlatform
|
23
23
|
module V1
|
24
|
+
# LINT: LEGACY_NAMES
|
24
25
|
# Represents a hardware accelerator type.
|
25
26
|
module AcceleratorType
|
26
27
|
# Unspecified accelerator type, which means no accelerator.
|
@@ -57,6 +58,12 @@ module Google
|
|
57
58
|
# Nvidia H100 Mega 80Gb GPU.
|
58
59
|
NVIDIA_H100_MEGA_80GB = 14
|
59
60
|
|
61
|
+
# Nvidia H200 141Gb GPU.
|
62
|
+
NVIDIA_H200_141GB = 15
|
63
|
+
|
64
|
+
# Nvidia B200 GPU.
|
65
|
+
NVIDIA_B200 = 16
|
66
|
+
|
60
67
|
# TPU v2.
|
61
68
|
TPU_V2 = 6
|
62
69
|
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# @return [::Array<::String>]
|
45
45
|
# Required. Google Cloud Storage URI(-s) to the input file(s). May contain
|
46
46
|
# wildcards. For more information on wildcards, see
|
47
|
-
# https://cloud.google.com/storage/docs/
|
47
|
+
# https://cloud.google.com/storage/docs/wildcards.
|
48
48
|
class GcsSource
|
49
49
|
include ::Google::Protobuf::MessageExts
|
50
50
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -336,6 +336,13 @@ module Google
|
|
336
336
|
# @!attribute [rw] layout_parser
|
337
337
|
# @return [::Google::Cloud::AIPlatform::V1::RagFileParsingConfig::LayoutParser]
|
338
338
|
# The Layout Parser to use for RagFiles.
|
339
|
+
#
|
340
|
+
# Note: The following fields are mutually exclusive: `layout_parser`, `llm_parser`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
341
|
+
# @!attribute [rw] llm_parser
|
342
|
+
# @return [::Google::Cloud::AIPlatform::V1::RagFileParsingConfig::LlmParser]
|
343
|
+
# The LLM Parser to use for RagFiles.
|
344
|
+
#
|
345
|
+
# Note: The following fields are mutually exclusive: `llm_parser`, `layout_parser`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
339
346
|
class RagFileParsingConfig
|
340
347
|
include ::Google::Protobuf::MessageExts
|
341
348
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -360,6 +367,28 @@ module Google
|
|
360
367
|
include ::Google::Protobuf::MessageExts
|
361
368
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
362
369
|
end
|
370
|
+
|
371
|
+
# Specifies the advanced parsing for RagFiles.
|
372
|
+
# @!attribute [rw] model_name
|
373
|
+
# @return [::String]
|
374
|
+
# The name of a LLM model used for parsing.
|
375
|
+
# Format:
|
376
|
+
# * `projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}`
|
377
|
+
# @!attribute [rw] max_parsing_requests_per_min
|
378
|
+
# @return [::Integer]
|
379
|
+
# The maximum number of requests the job is allowed to make to the
|
380
|
+
# LLM model per minute. Consult
|
381
|
+
# https://cloud.google.com/vertex-ai/generative-ai/docs/quotas
|
382
|
+
# and your document size to set an appropriate value here. If unspecified,
|
383
|
+
# a default value of 5000 QPM would be used.
|
384
|
+
# @!attribute [rw] custom_parsing_prompt
|
385
|
+
# @return [::String]
|
386
|
+
# The prompt to use for parsing. If not specified, a default prompt will
|
387
|
+
# be used.
|
388
|
+
class LlmParser
|
389
|
+
include ::Google::Protobuf::MessageExts
|
390
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
391
|
+
end
|
363
392
|
end
|
364
393
|
|
365
394
|
# Config for uploading RagFile.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-ai_platform-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -13,22 +13,16 @@ dependencies:
|
|
13
13
|
name: gapic-common
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- - "
|
17
|
-
- !ruby/object:Gem::Version
|
18
|
-
version: 0.25.0
|
19
|
-
- - "<"
|
16
|
+
- - "~>"
|
20
17
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
18
|
+
version: '1.0'
|
22
19
|
type: :runtime
|
23
20
|
prerelease: false
|
24
21
|
version_requirements: !ruby/object:Gem::Requirement
|
25
22
|
requirements:
|
26
|
-
- - "
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
version: 0.25.0
|
29
|
-
- - "<"
|
23
|
+
- - "~>"
|
30
24
|
- !ruby/object:Gem::Version
|
31
|
-
version:
|
25
|
+
version: '1.0'
|
32
26
|
- !ruby/object:Gem::Dependency
|
33
27
|
name: google-cloud-errors
|
34
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,42 +41,30 @@ dependencies:
|
|
47
41
|
name: google-cloud-location
|
48
42
|
requirement: !ruby/object:Gem::Requirement
|
49
43
|
requirements:
|
50
|
-
- - "
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '0.7'
|
53
|
-
- - "<"
|
44
|
+
- - "~>"
|
54
45
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
46
|
+
version: '1.0'
|
56
47
|
type: :runtime
|
57
48
|
prerelease: false
|
58
49
|
version_requirements: !ruby/object:Gem::Requirement
|
59
50
|
requirements:
|
60
|
-
- - "
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0.7'
|
63
|
-
- - "<"
|
51
|
+
- - "~>"
|
64
52
|
- !ruby/object:Gem::Version
|
65
|
-
version:
|
53
|
+
version: '1.0'
|
66
54
|
- !ruby/object:Gem::Dependency
|
67
55
|
name: google-iam-v1
|
68
56
|
requirement: !ruby/object:Gem::Requirement
|
69
57
|
requirements:
|
70
|
-
- - "
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: '0.7'
|
73
|
-
- - "<"
|
58
|
+
- - "~>"
|
74
59
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
60
|
+
version: '1.3'
|
76
61
|
type: :runtime
|
77
62
|
prerelease: false
|
78
63
|
version_requirements: !ruby/object:Gem::Requirement
|
79
64
|
requirements:
|
80
|
-
- - "
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0.7'
|
83
|
-
- - "<"
|
65
|
+
- - "~>"
|
84
66
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
67
|
+
version: '1.3'
|
86
68
|
description: Vertex AI enables data scientists, developers, and AI newcomers to create
|
87
69
|
custom machine learning models specific to their business needs by leveraging Google's
|
88
70
|
state-of-the-art transfer learning and innovative AI research. Note that google-cloud-ai_platform-v1
|
@@ -707,7 +689,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
707
689
|
requirements:
|
708
690
|
- - ">="
|
709
691
|
- !ruby/object:Gem::Version
|
710
|
-
version: '3.
|
692
|
+
version: '3.1'
|
711
693
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
712
694
|
requirements:
|
713
695
|
- - ">="
|