You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
embed() beside answer() and transcribe(): mo.use('openai/text-embedding-3-small').embed(['a', 'b']) returns { vectors, dimensions, inputType, inputTokens, cost, timestamps }, one
vector per input in request order. OpenAI, Gemini, Cohere and local; callEmbedding from mohdel/client for the gate's POST /v1/embed.
Catalog fields embeddingPrice, dimensions, dimensionsSelectable, maxBatch, maxInputTokens, inputTypes and defaultInputType. inputTypes maps a symbolic role (query, document, …) to the
provider's vocabulary; an entry declaring none rejects inputType rather
than dropping it. A batch over maxBatch fails before dispatch.
Cohere, for embeddings only. It has no chat models.
Fixed
A catalog field declared boolean always failed validation; schema.js
had no checker for the type.
cost rounds to ten decimals rather than six, which reported a short
embedding as 0.