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.