POST /embeddings — convert text (or multimodal content) to vectors.
OpenrouterSdk.Api.Embeddings.create(%{
model: "openai/text-embedding-3-small",
input: ["hello world", "another sentence"]
})
Summary
Functions
@spec create( map(), keyword() ) :: {:ok, map()} | {:error, OpenrouterSdk.Error.t()}