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

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

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[EmbeddingListener](index.md)/[onEmbeddings](onEmbeddings.md)

# onEmbeddings

[common]\
abstract fun [onEmbeddings](onEmbeddings.md)(embeddings: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[FloatArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float-array/index.html)&gt;)

One vector per text, in the texts' order; every vector has the model's embedding length.