---
title: "Companion"
sidebar_label: "Companion"
description: "Kotlin binding reference: Companion."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../../index.md)/[io.clika.modelverse](../../index.md)/[EmbeddingModel](../index.md)/[Companion](index.md)

# Companion

[common]\
object [Companion](index.md)

## Functions

| Name | Summary |
|---|---|
| [open](open.md) | [common]<br>fun [open](open.md)(path: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), options: [LoadOptions](../../LoadOptions/index.md) = LoadOptions()): [EmbeddingModel](../index.md)<br>Load a text-embedding model from [path](open.md) (a repository id, a snapshot directory or a GGUF file) under [options](open.md). Blocks for the load; call it off the main thread. |