diff --git a/src/apis/embeddings.ts b/src/apis/embeddings.ts index 380dc2a..079198c 100644 --- a/src/apis/embeddings.ts +++ b/src/apis/embeddings.ts @@ -9,6 +9,8 @@ import { createHeaders } from "./createHeaders"; export interface EmbeddingsBody extends ModelParams { input: string; model?: string; + dimensions?: number; + encoding_format?: string; } export type EmbeddingsResponse = Record & APIResponseType