Embeddings

interface Embeddings

Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun embeddings(request: EmbeddingRequest, requestOptions: RequestOptions? = null): EmbeddingResponse

Creates an embedding vector representing the input text.