> ## 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

<a id="sql-ml-import-model" />

Imports an [ML model](/content/ml/concepts#ml-model) from a
[Docker container registry](/content/ml/concepts#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

<AccordionGroup>
  <Accordion title="<model name>" id="<model-name>" defaultOpen>
    Name of the *ML model* to import via the given *container registry* reference
  </Accordion>

  <Accordion title="REGISTRY" id="registry" defaultOpen>
    Name of the reference to the *container registry* from which to import the *ML model*
  </Accordion>

  <Accordion title="CONTAINER" id="container" defaultOpen>
    The full path to the *ML model* container within the *container registry*
  </Accordion>

  <Accordion title="RUN_FUNCTION" id="run_function" defaultOpen>
    Name of the function within the *ML model* to execute when running inferences against it
  </Accordion>
</AccordionGroup>

## 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.