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

### import\_model

<ul>
  <li>
    import\_model(\
    &#x20;model\_name: string,\
    &#x20;registry\_name: string,\
    &#x20;container: string,\
    &#x20;run\_function: string,\
    &#x20;model\_type: string,\
    &#x20;options?: Record\<string, string>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md),\
    ): Promise\<[ImportModelResponse](https://docs.kinetica.com/content/api/javascript/interfaces/ImportModelResponse.md)>

    #### Parameters

    <ul>
      <li>
        model\_name: string

        Name of the model to be imported.
      </li>

      <li>
        registry\_name: string

        Name of the registry that has the container.
      </li>

      <li>
        container: string

        Name of the container that has the model.
      </li>

      <li>
        run\_function: string

        The absolute path to the run\_function.
      </li>

      <li>
        model\_type: string

        Type of the deployment.
      </li>

      <li>
        `Optional`options: Record\<string, string>

        Optional parameters.
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[ImportModelResponse](https://docs.kinetica.com/content/api/javascript/interfaces/ImportModelResponse.md)>

    Promise\<Types.ImportModelResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:11517](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L11517)</li>
    </ul>
  </li>
</ul>

### import\_model\_request

<ul>
  <li>
    import\_model\_request(\
    &#x20;request: [ImportModelRequest](https://docs.kinetica.com/content/api/javascript/interfaces/ImportModelRequest.md),\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md),\
    ): Promise\<[ImportModelResponse](https://docs.kinetica.com/content/api/javascript/interfaces/ImportModelResponse.md)>

    #### Parameters

    <ul>
      <li>
        request: [ImportModelRequest](https://docs.kinetica.com/content/api/javascript/interfaces/ImportModelRequest.md)

        Request object containing the parameters for the operation
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[ImportModelResponse](https://docs.kinetica.com/content/api/javascript/interfaces/ImportModelResponse.md)>

    Promise\<Types.ImportModelResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:11488](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L11488)</li>
    </ul>
  </li>
</ul>


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