genai.deployment.deployment_service module#

class genai.deployment.deployment_service.DeploymentService[source]#

Bases: BaseService[BaseServiceConfig, BaseServiceServices]

create(*, tune_id)[source]#
Raises:
Parameters:

tune_id (str) –

Return type:

DeploymentCreateResponse

delete(id)[source]#
Raises:
Parameters:

id (str) –

Return type:

None

list(*, id=None, limit=None, offset=None)[source]#
Raises:
Parameters:
  • id (list[str] | None) –

  • limit (int | None) –

  • offset (int | None) –

Return type:

DeploymentRetrieveResponse

retrieve(id)[source]#
Raises:
Parameters:

id (str) –

Return type:

DeploymentIdRetrieveResponse