Skip to content
1 min read · 37 words

Variable: E_OPENAI_EMBEDDINGS_MALFORMED_RESPONSE

ts
const E_OPENAI_EMBEDDINGS_MALFORMED_RESPONSE: CreatedException<[string]>;

Defined in: batteries/embeddings/openai/exceptions.ts:60

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