# DeploymentParams

Configuration parameters for deploying a model in the Fiddler platform.

DeploymentParams defines the deployment configuration for a model, including the artifact type, deployment environment, resource allocation, and container specifications. These parameters control how the model is packaged, deployed, and scaled within the Fiddler infrastructure.

This class is used when deploying models to specify the runtime environment, resource requirements, and deployment strategy that best fits your model's needs and performance requirements.

## Examples

Creating basic deployment parameters:

```python
basic_params = DeploymentParams()
```

Creating deployment with custom resources:

```python
custom_params = DeploymentParams(
    artifact_type=ArtifactType.PYTHON_PACKAGE,
    deployment_type=DeploymentType.BASE_CONTAINER,
    replicas=3,
    cpu=2,
    memory=4096
)
```

Creating deployment with custom container:

```python
container_params = DeploymentParams(
    artifact_type=ArtifactType.DOCKER_IMAGE,
    deployment_type=DeploymentType.CUSTOM_CONTAINER,
    image_uri="my-registry.com/my-model:v1.0",
    replicas=2,
    cpu=4,
    memory=8192
)
```

## artifact\_type *: str*

## deployment\_type *: DeploymentType*

## image\_uri *: str | None*

## replicas *: int | None*

## cpu *: int | None*

## memory *: int | None*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fiddler.ai/api/fiddler-python-client-sdk/schemas/deployment-params.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
