embeddings

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

Creates an embedding vector representing the input text.

Parameters

request

embedding request.

requestOptions

request options.