> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IMPORT MODEL

Imports an [ML model](https://docs.kinetica.com/content/ml/concepts.md#ml-model) from a
[Docker container registry](https://docs.kinetica.com/content/ml/concepts.md#ml-registry) into the database.

```sql title="IMPORT MODEL Syntax" theme={null}
IMPORT MODEL <model name>
REGISTRY = <registry name>
CONTAINER = '<path to container>'
RUN_FUNCTION = '<model run function>'
```

## Parameters

> [accordion] \<model name>
>
> Name of the *ML model* to import via the given *container registry* reference

> [accordion] REGISTRY
>
> Name of the reference to the *container registry* from which to import the *ML model*

> [accordion] CONTAINER
>
> The full path to the *ML model* container within the *container registry*

> [accordion] RUN\_FUNCTION
>
> Name of the function within the *ML model* to execute when running inferences against it

## Examples

```sql title="IMPORT MODEL Example" theme={null}
IMPORT MODEL temp_2c
REGISTRY = model_registry_docker
CONTAINER = 'kinetica/kinetica-blackbox-sdk:r7.2.0'
RUN_FUNCTION = 'module_temperature.convert_to_celsius'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.