Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Reasoning Engine v1 GAPIC release #4863

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/aiplatform_v1/reasoning_engine_execution_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ReasoningEngineExecutionService
-------------------------------------------------

.. automodule:: google.cloud.aiplatform_v1.services.reasoning_engine_execution_service
:members:
:inherited-members:
10 changes: 10 additions & 0 deletions docs/aiplatform_v1/reasoning_engine_service.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ReasoningEngineService
----------------------------------------

.. automodule:: google.cloud.aiplatform_v1.services.reasoning_engine_service
:members:
:inherited-members:

.. automodule:: google.cloud.aiplatform_v1.services.reasoning_engine_service.pagers
:members:
:inherited-members:
2 changes: 2 additions & 0 deletions docs/aiplatform_v1/services_.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ Services for Google Cloud Aiplatform v1 API
persistent_resource_service
pipeline_service
prediction_service
reasoning_engine_execution_service
reasoning_engine_service
schedule_service
specialist_pool_service
tensorboard_service
Expand Down
38 changes: 38 additions & 0 deletions google/cloud/aiplatform_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@
from .services.pipeline_service import PipelineServiceAsyncClient
from .services.prediction_service import PredictionServiceClient
from .services.prediction_service import PredictionServiceAsyncClient
from .services.reasoning_engine_execution_service import (
ReasoningEngineExecutionServiceClient,
)
from .services.reasoning_engine_execution_service import (
ReasoningEngineExecutionServiceAsyncClient,
)
from .services.reasoning_engine_service import ReasoningEngineServiceClient
from .services.reasoning_engine_service import ReasoningEngineServiceAsyncClient
from .services.schedule_service import ScheduleServiceClient
from .services.schedule_service import ScheduleServiceAsyncClient
from .services.specialist_pool_service import SpecialistPoolServiceClient
Expand Down Expand Up @@ -813,6 +821,19 @@
from .types.prediction_service import StreamingRawPredictResponse
from .types.prediction_service import StreamRawPredictRequest
from .types.publisher_model import PublisherModel
from .types.reasoning_engine import ReasoningEngine
from .types.reasoning_engine import ReasoningEngineSpec
from .types.reasoning_engine_execution_service import QueryReasoningEngineRequest
from .types.reasoning_engine_execution_service import QueryReasoningEngineResponse
from .types.reasoning_engine_execution_service import StreamQueryReasoningEngineRequest
from .types.reasoning_engine_service import CreateReasoningEngineOperationMetadata
from .types.reasoning_engine_service import CreateReasoningEngineRequest
from .types.reasoning_engine_service import DeleteReasoningEngineRequest
from .types.reasoning_engine_service import GetReasoningEngineRequest
from .types.reasoning_engine_service import ListReasoningEnginesRequest
from .types.reasoning_engine_service import ListReasoningEnginesResponse
from .types.reasoning_engine_service import UpdateReasoningEngineOperationMetadata
from .types.reasoning_engine_service import UpdateReasoningEngineRequest
from .types.reservation_affinity import ReservationAffinity
from .types.saved_query import SavedQuery
from .types.schedule import Schedule
Expand Down Expand Up @@ -1019,6 +1040,8 @@
"PersistentResourceServiceAsyncClient",
"PipelineServiceAsyncClient",
"PredictionServiceAsyncClient",
"ReasoningEngineExecutionServiceAsyncClient",
"ReasoningEngineServiceAsyncClient",
"ScheduleServiceAsyncClient",
"SpecialistPoolServiceAsyncClient",
"TensorboardServiceAsyncClient",
Expand Down Expand Up @@ -1169,6 +1192,8 @@
"CreatePipelineJobRequest",
"CreateRagCorpusOperationMetadata",
"CreateRagCorpusRequest",
"CreateReasoningEngineOperationMetadata",
"CreateReasoningEngineRequest",
"CreateRegistryFeatureOperationMetadata",
"CreateScheduleRequest",
"CreateSpecialistPoolOperationMetadata",
Expand Down Expand Up @@ -1230,6 +1255,7 @@
"DeletePipelineJobRequest",
"DeleteRagCorpusRequest",
"DeleteRagFileRequest",
"DeleteReasoningEngineRequest",
"DeleteSavedQueryRequest",
"DeleteScheduleRequest",
"DeleteSpecialistPoolRequest",
Expand Down Expand Up @@ -1395,6 +1421,7 @@
"GetPublisherModelRequest",
"GetRagCorpusRequest",
"GetRagFileRequest",
"GetReasoningEngineRequest",
"GetScheduleRequest",
"GetSpecialistPoolRequest",
"GetStudyRequest",
Expand Down Expand Up @@ -1524,6 +1551,8 @@
"ListRagCorporaResponse",
"ListRagFilesRequest",
"ListRagFilesResponse",
"ListReasoningEnginesRequest",
"ListReasoningEnginesResponse",
"ListSavedQueriesRequest",
"ListSavedQueriesResponse",
"ListSchedulesRequest",
Expand Down Expand Up @@ -1669,6 +1698,8 @@
"QueryDeployedModelsRequest",
"QueryDeployedModelsResponse",
"QueryExecutionInputsAndOutputsRequest",
"QueryReasoningEngineRequest",
"QueryReasoningEngineResponse",
"QuestionAnsweringCorrectnessInput",
"QuestionAnsweringCorrectnessInstance",
"QuestionAnsweringCorrectnessResult",
Expand Down Expand Up @@ -1710,6 +1741,10 @@
"ReadTensorboardTimeSeriesDataResponse",
"ReadTensorboardUsageRequest",
"ReadTensorboardUsageResponse",
"ReasoningEngine",
"ReasoningEngineExecutionServiceClient",
"ReasoningEngineServiceClient",
"ReasoningEngineSpec",
"RebaseTunedModelOperationMetadata",
"RebaseTunedModelRequest",
"RebootPersistentResourceOperationMetadata",
Expand Down Expand Up @@ -1783,6 +1818,7 @@
"StreamDirectPredictResponse",
"StreamDirectRawPredictRequest",
"StreamDirectRawPredictResponse",
"StreamQueryReasoningEngineRequest",
"StreamRawPredictRequest",
"StreamingPredictRequest",
"StreamingPredictResponse",
Expand Down Expand Up @@ -1905,6 +1941,8 @@
"UpdatePersistentResourceRequest",
"UpdateRagCorpusOperationMetadata",
"UpdateRagCorpusRequest",
"UpdateReasoningEngineOperationMetadata",
"UpdateReasoningEngineRequest",
"UpdateScheduleRequest",
"UpdateSpecialistPoolOperationMetadata",
"UpdateSpecialistPoolRequest",
Expand Down
143 changes: 143 additions & 0 deletions google/cloud/aiplatform_v1/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -4196,6 +4196,149 @@
}
}
},
"ReasoningEngineExecutionService": {
"clients": {
"grpc": {
"libraryClient": "ReasoningEngineExecutionServiceClient",
"rpcs": {
"QueryReasoningEngine": {
"methods": [
"query_reasoning_engine"
]
},
"StreamQueryReasoningEngine": {
"methods": [
"stream_query_reasoning_engine"
]
}
}
},
"grpc-async": {
"libraryClient": "ReasoningEngineExecutionServiceAsyncClient",
"rpcs": {
"QueryReasoningEngine": {
"methods": [
"query_reasoning_engine"
]
},
"StreamQueryReasoningEngine": {
"methods": [
"stream_query_reasoning_engine"
]
}
}
},
"rest": {
"libraryClient": "ReasoningEngineExecutionServiceClient",
"rpcs": {
"QueryReasoningEngine": {
"methods": [
"query_reasoning_engine"
]
},
"StreamQueryReasoningEngine": {
"methods": [
"stream_query_reasoning_engine"
]
}
}
}
}
},
"ReasoningEngineService": {
"clients": {
"grpc": {
"libraryClient": "ReasoningEngineServiceClient",
"rpcs": {
"CreateReasoningEngine": {
"methods": [
"create_reasoning_engine"
]
},
"DeleteReasoningEngine": {
"methods": [
"delete_reasoning_engine"
]
},
"GetReasoningEngine": {
"methods": [
"get_reasoning_engine"
]
},
"ListReasoningEngines": {
"methods": [
"list_reasoning_engines"
]
},
"UpdateReasoningEngine": {
"methods": [
"update_reasoning_engine"
]
}
}
},
"grpc-async": {
"libraryClient": "ReasoningEngineServiceAsyncClient",
"rpcs": {
"CreateReasoningEngine": {
"methods": [
"create_reasoning_engine"
]
},
"DeleteReasoningEngine": {
"methods": [
"delete_reasoning_engine"
]
},
"GetReasoningEngine": {
"methods": [
"get_reasoning_engine"
]
},
"ListReasoningEngines": {
"methods": [
"list_reasoning_engines"
]
},
"UpdateReasoningEngine": {
"methods": [
"update_reasoning_engine"
]
}
}
},
"rest": {
"libraryClient": "ReasoningEngineServiceClient",
"rpcs": {
"CreateReasoningEngine": {
"methods": [
"create_reasoning_engine"
]
},
"DeleteReasoningEngine": {
"methods": [
"delete_reasoning_engine"
]
},
"GetReasoningEngine": {
"methods": [
"get_reasoning_engine"
]
},
"ListReasoningEngines": {
"methods": [
"list_reasoning_engines"
]
},
"UpdateReasoningEngine": {
"methods": [
"update_reasoning_engine"
]
}
}
}
}
},
"ScheduleService": {
"clients": {
"grpc": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1367,6 +1367,10 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
"method": "post",
"uri": "/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel",
},
{
"method": "post",
"uri": "/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel",
},
{
"method": "post",
"uri": "/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel",
Expand Down Expand Up @@ -1717,6 +1721,10 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
"method": "delete",
"uri": "/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}",
},
{
"method": "delete",
"uri": "/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}",
},
{
"method": "delete",
"uri": "/v1/{name=projects/*/locations/*/studies/*/operations/*}",
Expand Down Expand Up @@ -2099,6 +2107,10 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
"method": "get",
"uri": "/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}",
},
{
"method": "get",
"uri": "/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}",
},
{
"method": "get",
"uri": "/v1/{name=projects/*/locations/*/studies/*/operations/*}",
Expand Down Expand Up @@ -2469,6 +2481,10 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
"method": "get",
"uri": "/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations",
},
{
"method": "get",
"uri": "/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations",
},
{
"method": "get",
"uri": "/v1/{name=projects/*/locations/*/studies/*}/operations",
Expand Down Expand Up @@ -2851,6 +2867,10 @@ def operations_client(self) -> operations_v1.AbstractOperationsClient:
"method": "post",
"uri": "/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait",
},
{
"method": "post",
"uri": "/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait",
},
{
"method": "post",
"uri": "/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait",
Expand Down
Loading
Loading