google-cloud-ai_platform-v1 1.11.0 → 1.12.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/dataset_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/operations.rb +70 -0
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +70 -0
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/openapi_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/vertex_rag_data_pb.rb +3 -1
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/openapi.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +50 -9
- data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb +56 -0
- metadata +1 -1
@@ -84,9 +84,56 @@ module Google
|
|
84
84
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
85
85
|
|
86
86
|
# The config for the default RAG-managed Vector DB.
|
87
|
+
# @!attribute [rw] knn
|
88
|
+
# @return [::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::KNN]
|
89
|
+
# Performs a KNN search on RagCorpus.
|
90
|
+
# Default choice if not specified.
|
91
|
+
#
|
92
|
+
# Note: The following fields are mutually exclusive: `knn`, `ann`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
93
|
+
# @!attribute [rw] ann
|
94
|
+
# @return [::Google::Cloud::AIPlatform::V1::RagVectorDbConfig::RagManagedDb::ANN]
|
95
|
+
# Performs an ANN search on RagCorpus. Use this if you have a lot of
|
96
|
+
# files (> 10K) in your RagCorpus and want to reduce the search latency.
|
97
|
+
#
|
98
|
+
# Note: The following fields are mutually exclusive: `ann`, `knn`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
87
99
|
class RagManagedDb
|
88
100
|
include ::Google::Protobuf::MessageExts
|
89
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
102
|
+
|
103
|
+
# Config for KNN search.
|
104
|
+
class KNN
|
105
|
+
include ::Google::Protobuf::MessageExts
|
106
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
107
|
+
end
|
108
|
+
|
109
|
+
# Config for ANN search.
|
110
|
+
#
|
111
|
+
# RagManagedDb uses a tree-based structure to partition data and
|
112
|
+
# facilitate faster searches. As a tradeoff, it requires longer indexing
|
113
|
+
# time and manual triggering of index rebuild via the ImportRagFiles and
|
114
|
+
# UpdateRagCorpus API.
|
115
|
+
# @!attribute [rw] tree_depth
|
116
|
+
# @return [::Integer]
|
117
|
+
# The depth of the tree-based structure. Only depth values of 2 and 3 are
|
118
|
+
# supported.
|
119
|
+
#
|
120
|
+
# Recommended value is 2 if you have if you have O(10K) files in the
|
121
|
+
# RagCorpus and set this to 3 if more than that.
|
122
|
+
#
|
123
|
+
# Default value is 2.
|
124
|
+
# @!attribute [rw] leaf_count
|
125
|
+
# @return [::Integer]
|
126
|
+
# Number of leaf nodes in the tree-based structure. Each leaf node
|
127
|
+
# contains groups of closely related vectors along with their
|
128
|
+
# corresponding centroid.
|
129
|
+
#
|
130
|
+
# Recommended value is 10 * sqrt(num of RagFiles in your RagCorpus).
|
131
|
+
#
|
132
|
+
# Default value is 500.
|
133
|
+
class ANN
|
134
|
+
include ::Google::Protobuf::MessageExts
|
135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
136
|
+
end
|
90
137
|
end
|
91
138
|
|
92
139
|
# The config for the Pinecone.
|
@@ -478,6 +525,15 @@ module Google
|
|
478
525
|
# to this job and not shared across other import jobs. Consult the Quotas
|
479
526
|
# page on the project to set an appropriate value here.
|
480
527
|
# If unspecified, a default value of 1,000 QPM would be used.
|
528
|
+
# @!attribute [rw] rebuild_ann_index
|
529
|
+
# @return [::Boolean]
|
530
|
+
# Rebuilds the ANN index to optimize for recall on the imported data.
|
531
|
+
# Only applicable for RagCorpora running on RagManagedDb with
|
532
|
+
# `retrieval_strategy` set to `ANN`. The rebuild will be performed using the
|
533
|
+
# existing ANN config set on the RagCorpus. To change the ANN config, please
|
534
|
+
# use the UpdateRagCorpus API.
|
535
|
+
#
|
536
|
+
# Default is false, i.e., index is not rebuilt.
|
481
537
|
class ImportRagFilesConfig
|
482
538
|
include ::Google::Protobuf::MessageExts
|
483
539
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|