API calls for all endpoints tagged Embeddings.
Summary
Functions
Create embeddings Creates an embedding vector representing the input text.
Functions
@spec create_embedding( Tesla.Env.client(), ExBifrost.Model.EmbeddingRequest.t(), keyword() ) :: {:ok, ExBifrost.Model.EmbeddingResponse.t()} | {:ok, ExBifrost.Model.BifrostError.t()} | {:error, Tesla.Env.t()}
Create embeddings Creates an embedding vector representing the input text.
Parameters
connection(ExBifrost.Connection): Connection to serverembedding_request(EmbeddingRequest):opts(keyword): Optional parameters
Returns
{:ok, ExBifrost.Model.EmbeddingResponse.t}on success{:error, Tesla.Env.t}on failure