Skip to content

Commit a6d975e

Browse files
gcf-owl-bot[bot]copybara-github
authored andcommitted
Copybara import of the project:
-- adbc2bd by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: Update multimodal evaluation (content_map_instance), rubric generation (rubric_based_instance, etc) and raw_output(raw_output, custom_output, etc) proto change in online eval API docs: A comment for field `autorater_config` in message `.google.cloud.aiplatform.v1beta1.EvaluateDatasetRequest` is changed docs: A comment for field `gcs_source` in message `.google.cloud.aiplatform.v1beta1.EvaluationDataset` is changed PiperOrigin-RevId: 739314382 Source-Link: googleapis/googleapis@53ca65d Source-Link: googleapis/googleapis-gen@ddcc8bb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGRjYzhiYmY4MjZjYTJhZTVmYTFiNjJhZjU0NzE0MzAxNWMzNmFkNCJ9 -- d656179 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 4d36196 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: add model_config field for model selection preference PiperOrigin-RevId: 739998881 Source-Link: googleapis/googleapis@21a7867 Source-Link: googleapis/googleapis-gen@ee10b3a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWUxMGIzYWE0YjEwMDgzMGNlMmQ1MTI0Nzk1YzMwNzljOWE4YjI0OCJ9 -- 4efe163 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 9d148e0 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: Enable force deletion in ReasoningEngine v1beta1 PiperOrigin-RevId: 740040357 Source-Link: googleapis/googleapis@2729663 Source-Link: googleapis/googleapis-gen@89da587 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODlkYTU4NzIyZWMzMDliNGRmODdkNzI3MWQzYmNjZmI2MTAyMzUyZSJ9 -- e0f81d3 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 780cbeb by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: Add batch prediction assessments to multimodal dataset RPCs PiperOrigin-RevId: 740340685 Source-Link: googleapis/googleapis@f36c475 Source-Link: googleapis/googleapis-gen@901f6c4 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTAxZjZjNDFlYTQ1MzNhMzI5NjljMWY3NDc1NjIxMzc5MTU4YmU2NiJ9 -- 4280848 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 9c301f4 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: Add session.proto and session_service.proto PiperOrigin-RevId: 740406674 Source-Link: googleapis/googleapis@21cc946 Source-Link: googleapis/googleapis-gen@440d34d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDQwZDM0ZGI4YjIwNmFjY2I3MWRkMGUyODA5ZWE4ZTMyMTcwNjgxMyJ9 -- 28f3064 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- 3368499 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: Enable force deletion in ReasoningEngine PiperOrigin-RevId: 740506315 Source-Link: googleapis/googleapis@2715fd3 Source-Link: googleapis/googleapis-gen@0fb1fbd Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMGZiMWZiZDI5ZmQ5NGRiMDU3OWI3MDJhZjcwOWEwODYxNTY5MTU0NSJ9 -- 8230286 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md -- c549dc8 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: feat: Add example, example_store, and example_store_service protos PiperOrigin-RevId: 740829050 Source-Link: googleapis/googleapis@7c5b1c9 Source-Link: googleapis/googleapis-gen@b7ca020 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjdjYTAyMDU1N2UyZTVmYTA4MDU5ZDdkOThmNWFlM2JlOTQxYzNlYyJ9 -- 4e6cca5 by Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>: 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md COPYBARA_INTEGRATE_REVIEW=#5081 from googleapis:owl-bot-copy 7878c75 PiperOrigin-RevId: 740919535
1 parent 533012a commit a6d975e

File tree

80 files changed

+86811
-10736
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+86811
-10736
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ExampleStoreService
2+
-------------------------------------
3+
4+
.. automodule:: google.cloud.aiplatform_v1beta1.services.example_store_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.cloud.aiplatform_v1beta1.services.example_store_service.pagers
9+
:members:
10+
:inherited-members:

docs/aiplatform_v1beta1/services_.rst

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Services for Google Cloud Aiplatform v1beta1 API
77
deployment_resource_pool_service
88
endpoint_service
99
evaluation_service
10+
example_store_service
1011
extension_execution_service
1112
extension_registry_service
1213
feature_online_store_admin_service
@@ -33,6 +34,7 @@ Services for Google Cloud Aiplatform v1beta1 API
3334
reasoning_engine_execution_service
3435
reasoning_engine_service
3536
schedule_service
37+
session_service
3638
specialist_pool_service
3739
tensorboard_service
3840
vertex_rag_data_service
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
SessionService
2+
--------------------------------
3+
4+
.. automodule:: google.cloud.aiplatform_v1beta1.services.session_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.cloud.aiplatform_v1beta1.services.session_service.pagers
9+
:members:
10+
:inherited-members:

google/cloud/aiplatform_v1/types/reasoning_engine_service.py

+9
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,21 @@ class DeleteReasoningEngineRequest(proto.Message):
214214
Required. The name of the ReasoningEngine resource to be
215215
deleted. Format:
216216
``projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}``
217+
force (bool):
218+
Optional. If set to true, child resources of this reasoning
219+
engine will also be deleted. Otherwise, the request will
220+
fail with FAILED_PRECONDITION error when the reasoning
221+
engine has undeleted child resources.
217222
"""
218223

219224
name: str = proto.Field(
220225
proto.STRING,
221226
number=1,
222227
)
228+
force: bool = proto.Field(
229+
proto.BOOL,
230+
number=2,
231+
)
223232

224233

225234
__all__ = tuple(sorted(__protobuf__.manifest))

google/cloud/aiplatform_v1beta1/__init__.py

+106
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
from .services.endpoint_service import EndpointServiceAsyncClient
3131
from .services.evaluation_service import EvaluationServiceClient
3232
from .services.evaluation_service import EvaluationServiceAsyncClient
33+
from .services.example_store_service import ExampleStoreServiceClient
34+
from .services.example_store_service import ExampleStoreServiceAsyncClient
3335
from .services.extension_execution_service import ExtensionExecutionServiceClient
3436
from .services.extension_execution_service import ExtensionExecutionServiceAsyncClient
3537
from .services.extension_registry_service import ExtensionRegistryServiceClient
@@ -94,6 +96,8 @@
9496
from .services.reasoning_engine_service import ReasoningEngineServiceAsyncClient
9597
from .services.schedule_service import ScheduleServiceClient
9698
from .services.schedule_service import ScheduleServiceAsyncClient
99+
from .services.session_service import SessionServiceClient
100+
from .services.session_service import SessionServiceAsyncClient
97101
from .services.specialist_pool_service import SpecialistPoolServiceClient
98102
from .services.specialist_pool_service import SpecialistPoolServiceAsyncClient
99103
from .services.tensorboard_service import TensorboardServiceClient
@@ -259,6 +263,9 @@
259263
from .types.evaluation_service import CometInstance
260264
from .types.evaluation_service import CometResult
261265
from .types.evaluation_service import CometSpec
266+
from .types.evaluation_service import ContentMap
267+
from .types.evaluation_service import CustomOutput
268+
from .types.evaluation_service import CustomOutputFormatConfig
262269
from .types.evaluation_service import EvaluateDatasetOperationMetadata
263270
from .types.evaluation_service import EvaluateDatasetRequest
264271
from .types.evaluation_service import EvaluateDatasetResponse
@@ -321,11 +328,17 @@
321328
from .types.evaluation_service import QuestionAnsweringRelevanceInstance
322329
from .types.evaluation_service import QuestionAnsweringRelevanceResult
323330
from .types.evaluation_service import QuestionAnsweringRelevanceSpec
331+
from .types.evaluation_service import RawOutput
324332
from .types.evaluation_service import RougeInput
325333
from .types.evaluation_service import RougeInstance
326334
from .types.evaluation_service import RougeMetricValue
327335
from .types.evaluation_service import RougeResults
328336
from .types.evaluation_service import RougeSpec
337+
from .types.evaluation_service import RubricBasedInstructionFollowingInput
338+
from .types.evaluation_service import RubricBasedInstructionFollowingInstance
339+
from .types.evaluation_service import RubricBasedInstructionFollowingResult
340+
from .types.evaluation_service import RubricBasedInstructionFollowingSpec
341+
from .types.evaluation_service import RubricCritiqueResult
329342
from .types.evaluation_service import SafetyInput
330343
from .types.evaluation_service import SafetyInstance
331344
from .types.evaluation_service import SafetyResult
@@ -396,6 +409,31 @@
396409
from .types.evaluation_service import TrajectorySingleToolUseSpec
397410
from .types.evaluation_service import PairwiseChoice
398411
from .types.event import Event
412+
from .types.example import ContentsExample
413+
from .types.example import StoredContentsExample
414+
from .types.example_store import ExamplesArrayFilter
415+
from .types.example_store import ExampleStore
416+
from .types.example_store import ExampleStoreConfig
417+
from .types.example_store import StoredContentsExampleFilter
418+
from .types.example_store import StoredContentsExampleParameters
419+
from .types.example_store_service import CreateExampleStoreOperationMetadata
420+
from .types.example_store_service import CreateExampleStoreRequest
421+
from .types.example_store_service import DeleteExampleStoreOperationMetadata
422+
from .types.example_store_service import DeleteExampleStoreRequest
423+
from .types.example_store_service import Example
424+
from .types.example_store_service import FetchExamplesRequest
425+
from .types.example_store_service import FetchExamplesResponse
426+
from .types.example_store_service import GetExampleStoreRequest
427+
from .types.example_store_service import ListExampleStoresRequest
428+
from .types.example_store_service import ListExampleStoresResponse
429+
from .types.example_store_service import RemoveExamplesRequest
430+
from .types.example_store_service import RemoveExamplesResponse
431+
from .types.example_store_service import SearchExamplesRequest
432+
from .types.example_store_service import SearchExamplesResponse
433+
from .types.example_store_service import UpdateExampleStoreOperationMetadata
434+
from .types.example_store_service import UpdateExampleStoreRequest
435+
from .types.example_store_service import UpsertExamplesRequest
436+
from .types.example_store_service import UpsertExamplesResponse
399437
from .types.execution import Execution
400438
from .types.explanation import Attribution
401439
from .types.explanation import BlurBaselineConfig
@@ -1004,6 +1042,21 @@
10041042
from .types.service_networking import PscAutomatedEndpoints
10051043
from .types.service_networking import PSCAutomationConfig
10061044
from .types.service_networking import PscInterfaceConfig
1045+
from .types.session import EventActions
1046+
from .types.session import EventMetadata
1047+
from .types.session import Session
1048+
from .types.session import SessionEvent
1049+
from .types.session_service import AppendEventRequest
1050+
from .types.session_service import AppendEventResponse
1051+
from .types.session_service import CreateSessionOperationMetadata
1052+
from .types.session_service import CreateSessionRequest
1053+
from .types.session_service import DeleteSessionRequest
1054+
from .types.session_service import GetSessionRequest
1055+
from .types.session_service import ListEventsRequest
1056+
from .types.session_service import ListEventsResponse
1057+
from .types.session_service import ListSessionsRequest
1058+
from .types.session_service import ListSessionsResponse
1059+
from .types.session_service import UpdateSessionRequest
10071060
from .types.specialist_pool import SpecialistPool
10081061
from .types.specialist_pool_service import CreateSpecialistPoolOperationMetadata
10091062
from .types.specialist_pool_service import CreateSpecialistPoolRequest
@@ -1190,6 +1243,7 @@
11901243
"DeploymentResourcePoolServiceAsyncClient",
11911244
"EndpointServiceAsyncClient",
11921245
"EvaluationServiceAsyncClient",
1246+
"ExampleStoreServiceAsyncClient",
11931247
"ExtensionExecutionServiceAsyncClient",
11941248
"ExtensionRegistryServiceAsyncClient",
11951249
"FeatureOnlineStoreAdminServiceAsyncClient",
@@ -1216,6 +1270,7 @@
12161270
"ReasoningEngineExecutionServiceAsyncClient",
12171271
"ReasoningEngineServiceAsyncClient",
12181272
"ScheduleServiceAsyncClient",
1273+
"SessionServiceAsyncClient",
12191274
"SpecialistPoolServiceAsyncClient",
12201275
"TensorboardServiceAsyncClient",
12211276
"VertexRagDataServiceAsyncClient",
@@ -1233,6 +1288,8 @@
12331288
"Annotation",
12341289
"AnnotationSpec",
12351290
"ApiAuth",
1291+
"AppendEventRequest",
1292+
"AppendEventResponse",
12361293
"Artifact",
12371294
"ArtifactTypeSchema",
12381295
"AssembleDataOperationMetadata",
@@ -1322,6 +1379,8 @@
13221379
"ContainerRegistryDestination",
13231380
"ContainerSpec",
13241381
"Content",
1382+
"ContentMap",
1383+
"ContentsExample",
13251384
"Context",
13261385
"CopyModelOperationMetadata",
13271386
"CopyModelRequest",
@@ -1347,6 +1406,8 @@
13471406
"CreateEndpointRequest",
13481407
"CreateEntityTypeOperationMetadata",
13491408
"CreateEntityTypeRequest",
1409+
"CreateExampleStoreOperationMetadata",
1410+
"CreateExampleStoreRequest",
13501411
"CreateExecutionRequest",
13511412
"CreateFeatureGroupOperationMetadata",
13521413
"CreateFeatureGroupRequest",
@@ -1387,6 +1448,8 @@
13871448
"CreateReasoningEngineRequest",
13881449
"CreateRegistryFeatureOperationMetadata",
13891450
"CreateScheduleRequest",
1451+
"CreateSessionOperationMetadata",
1452+
"CreateSessionRequest",
13901453
"CreateSpecialistPoolOperationMetadata",
13911454
"CreateSpecialistPoolRequest",
13921455
"CreateStudyRequest",
@@ -1402,6 +1465,8 @@
14021465
"CsvSource",
14031466
"CustomJob",
14041467
"CustomJobSpec",
1468+
"CustomOutput",
1469+
"CustomOutputFormatConfig",
14051470
"DataItem",
14061471
"DataItemView",
14071472
"DataLabelingJob",
@@ -1422,6 +1487,8 @@
14221487
"DeleteDeploymentResourcePoolRequest",
14231488
"DeleteEndpointRequest",
14241489
"DeleteEntityTypeRequest",
1490+
"DeleteExampleStoreOperationMetadata",
1491+
"DeleteExampleStoreRequest",
14251492
"DeleteExecutionRequest",
14261493
"DeleteExtensionRequest",
14271494
"DeleteFeatureGroupRequest",
@@ -1455,6 +1522,7 @@
14551522
"DeleteReasoningEngineRequest",
14561523
"DeleteSavedQueryRequest",
14571524
"DeleteScheduleRequest",
1525+
"DeleteSessionRequest",
14581526
"DeleteSpecialistPoolRequest",
14591527
"DeleteStudyRequest",
14601528
"DeleteTensorboardExperimentRequest",
@@ -1512,12 +1580,19 @@
15121580
"EvaluationDataset",
15131581
"EvaluationServiceClient",
15141582
"Event",
1583+
"EventActions",
1584+
"EventMetadata",
15151585
"ExactMatchInput",
15161586
"ExactMatchInstance",
15171587
"ExactMatchMetricValue",
15181588
"ExactMatchResults",
15191589
"ExactMatchSpec",
1590+
"Example",
1591+
"ExampleStore",
1592+
"ExampleStoreConfig",
1593+
"ExampleStoreServiceClient",
15201594
"Examples",
1595+
"ExamplesArrayFilter",
15211596
"ExamplesOverride",
15221597
"ExamplesRestrictionsNamespace",
15231598
"ExecutableCode",
@@ -1581,6 +1656,8 @@
15811656
"FeaturestoreMonitoringConfig",
15821657
"FeaturestoreOnlineServingServiceClient",
15831658
"FeaturestoreServiceClient",
1659+
"FetchExamplesRequest",
1660+
"FetchExamplesResponse",
15841661
"FetchFeatureValuesRequest",
15851662
"FetchFeatureValuesResponse",
15861663
"FileData",
@@ -1625,6 +1702,7 @@
16251702
"GetDeploymentResourcePoolRequest",
16261703
"GetEndpointRequest",
16271704
"GetEntityTypeRequest",
1705+
"GetExampleStoreRequest",
16281706
"GetExecutionRequest",
16291707
"GetExtensionRequest",
16301708
"GetFeatureGroupRequest",
@@ -1658,6 +1736,7 @@
16581736
"GetRagFileRequest",
16591737
"GetReasoningEngineRequest",
16601738
"GetScheduleRequest",
1739+
"GetSessionRequest",
16611740
"GetSpecialistPoolRequest",
16621741
"GetStudyRequest",
16631742
"GetTensorboardExperimentRequest",
@@ -1735,6 +1814,10 @@
17351814
"ListEndpointsResponse",
17361815
"ListEntityTypesRequest",
17371816
"ListEntityTypesResponse",
1817+
"ListEventsRequest",
1818+
"ListEventsResponse",
1819+
"ListExampleStoresRequest",
1820+
"ListExampleStoresResponse",
17381821
"ListExecutionsRequest",
17391822
"ListExecutionsResponse",
17401823
"ListExtensionsRequest",
@@ -1809,6 +1892,8 @@
18091892
"ListSavedQueriesResponse",
18101893
"ListSchedulesRequest",
18111894
"ListSchedulesResponse",
1895+
"ListSessionsRequest",
1896+
"ListSessionsResponse",
18121897
"ListSpecialistPoolsRequest",
18131898
"ListSpecialistPoolsResponse",
18141899
"ListStudiesRequest",
@@ -2011,6 +2096,7 @@
20112096
"RagQuery",
20122097
"RagRetrievalConfig",
20132098
"RagVectorDbConfig",
2099+
"RawOutput",
20142100
"RawPredictRequest",
20152101
"RayLogsSpec",
20162102
"RayMetricSpec",
@@ -2039,6 +2125,8 @@
20392125
"RemoveContextChildrenResponse",
20402126
"RemoveDatapointsRequest",
20412127
"RemoveDatapointsResponse",
2128+
"RemoveExamplesRequest",
2129+
"RemoveExamplesResponse",
20422130
"ReservationAffinity",
20432131
"ResourcePool",
20442132
"ResourceRuntime",
@@ -2059,6 +2147,11 @@
20592147
"RougeMetricValue",
20602148
"RougeResults",
20612149
"RougeSpec",
2150+
"RubricBasedInstructionFollowingInput",
2151+
"RubricBasedInstructionFollowingInstance",
2152+
"RubricBasedInstructionFollowingResult",
2153+
"RubricBasedInstructionFollowingSpec",
2154+
"RubricCritiqueResult",
20622155
"RuntimeArtifact",
20632156
"RuntimeConfig",
20642157
"SafetyInput",
@@ -2080,6 +2173,8 @@
20802173
"SearchDataItemsRequest",
20812174
"SearchDataItemsResponse",
20822175
"SearchEntryPoint",
2176+
"SearchExamplesRequest",
2177+
"SearchExamplesResponse",
20832178
"SearchFeaturesRequest",
20842179
"SearchFeaturesResponse",
20852180
"SearchMigratableResourcesRequest",
@@ -2097,6 +2192,9 @@
20972192
"SecretRef",
20982193
"Segment",
20992194
"ServiceAccountSpec",
2195+
"Session",
2196+
"SessionEvent",
2197+
"SessionServiceClient",
21002198
"SharePointSources",
21012199
"ShieldedVmConfig",
21022200
"SlackSource",
@@ -2111,6 +2209,9 @@
21112209
"StopNotebookRuntimeRequest",
21122210
"StopNotebookRuntimeResponse",
21132211
"StopTrialRequest",
2212+
"StoredContentsExample",
2213+
"StoredContentsExampleFilter",
2214+
"StoredContentsExampleParameters",
21142215
"StratifiedSplit",
21152216
"StreamDirectPredictRequest",
21162217
"StreamDirectPredictResponse",
@@ -2249,6 +2350,8 @@
22492350
"UpdateEndpointOperationMetadata",
22502351
"UpdateEndpointRequest",
22512352
"UpdateEntityTypeRequest",
2353+
"UpdateExampleStoreOperationMetadata",
2354+
"UpdateExampleStoreRequest",
22522355
"UpdateExecutionRequest",
22532356
"UpdateExplanationDatasetOperationMetadata",
22542357
"UpdateExplanationDatasetRequest",
@@ -2282,6 +2385,7 @@
22822385
"UpdateReasoningEngineOperationMetadata",
22832386
"UpdateReasoningEngineRequest",
22842387
"UpdateScheduleRequest",
2388+
"UpdateSessionRequest",
22852389
"UpdateSpecialistPoolOperationMetadata",
22862390
"UpdateSpecialistPoolRequest",
22872391
"UpdateTensorboardExperimentRequest",
@@ -2300,6 +2404,8 @@
23002404
"UploadRagFileResponse",
23012405
"UpsertDatapointsRequest",
23022406
"UpsertDatapointsResponse",
2407+
"UpsertExamplesRequest",
2408+
"UpsertExamplesResponse",
23032409
"UserActionReference",
23042410
"Value",
23052411
"VertexAISearch",

0 commit comments

Comments
 (0)