From 014ebeeb1eeb5d94a2bde7c3f6235981d327349f Mon Sep 17 00:00:00 2001 From: anadi45 Date: Tue, 24 Jun 2025 17:36:23 -0700 Subject: [PATCH] fix(embedding): response type for base64 encoding format --- src/resources/embeddings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/embeddings.ts b/src/resources/embeddings.ts index 7a66904f7..ba210f63e 100644 --- a/src/resources/embeddings.ts +++ b/src/resources/embeddings.ts @@ -109,7 +109,7 @@ export interface Embedding { * the model as listed in the * [embedding guide](https://platform.openai.com/docs/guides/embeddings). */ - embedding: Array; + embedding: Array | string; /** * The index of the embedding in the list of embeddings.