Skip to content
1 min read · 38 words

Variable: E_INVALID_OPENAI_EMBEDDINGS_OPTIONS

ts
const E_INVALID_OPENAI_EMBEDDINGS_OPTIONS: CreatedException<[string]>;

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

Thrown when the resolved adapter options fail validation against openAIEmbeddingsOptionsSchema — e.g. a missing/empty model, or an unknown option key. Fatal: config bugs fail loud at construction time, not at embed time.