Skip to content
1 min read · 34 words

Variable: E_OLLAMA_EMBEDDINGS_MALFORMED_RESPONSE

ts
const E_OLLAMA_EMBEDDINGS_MALFORMED_RESPONSE: CreatedException<[string]>;

Defined in: src/batteries/embeddings/ollama/exceptions.ts:60

Thrown when a 2xx response body cannot be parsed into the expected { embeddings: number[][] } shape (malformed JSON, missing embeddings, wrong vector count). Non-fatal. Printf arg: [detail].