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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/rest/operations.rb +70 -0
  3. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/operations.rb +70 -0
  4. data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/operations.rb +70 -0
  5. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/operations.rb +70 -0
  6. data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/operations.rb +70 -0
  7. data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/operations.rb +70 -0
  8. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/operations.rb +70 -0
  9. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/operations.rb +70 -0
  10. data/lib/google/cloud/ai_platform/v1/index_service/rest/operations.rb +70 -0
  11. data/lib/google/cloud/ai_platform/v1/job_service/rest/operations.rb +70 -0
  12. data/lib/google/cloud/ai_platform/v1/metadata_service/rest/operations.rb +70 -0
  13. data/lib/google/cloud/ai_platform/v1/migration_service/rest/operations.rb +70 -0
  14. data/lib/google/cloud/ai_platform/v1/model_service/rest/operations.rb +70 -0
  15. data/lib/google/cloud/ai_platform/v1/notebook_service/rest/operations.rb +70 -0
  16. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/operations.rb +70 -0
  17. data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/operations.rb +70 -0
  18. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/rest/operations.rb +70 -0
  19. data/lib/google/cloud/ai_platform/v1/schedule_service/rest/operations.rb +70 -0
  20. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/operations.rb +70 -0
  21. data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/operations.rb +70 -0
  22. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  23. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/operations.rb +70 -0
  24. data/lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb +70 -0
  25. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +1 -1
  26. data/lib/google/cloud/aiplatform/v1/openapi_pb.rb +1 -1
  27. data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +2 -1
  28. data/lib/google/cloud/aiplatform/v1/vertex_rag_data_pb.rb +3 -1
  29. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +3 -0
  30. data/proto_docs/google/cloud/aiplatform/v1/openapi.rb +4 -0
  31. data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +50 -9
  32. data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb +56 -0
  33. 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
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.11.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC