From 99bee97a842d77ec01d8d8f4b6b04d62848e9a2c Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Wed, 8 Nov 2023 19:16:23 +0000 Subject: [PATCH] fix(api): update embedding response object type (#466) --- src/resources/embeddings.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resources/embeddings.ts b/src/resources/embeddings.ts index 219a05b1f..93637821d 100644 --- a/src/resources/embeddings.ts +++ b/src/resources/embeddings.ts @@ -28,9 +28,9 @@ export interface CreateEmbeddingResponse { model: string; /** - * The object type, which is always "embedding". + * The object type, which is always "list". */ - object: 'embedding'; + object: 'list'; /** * The usage information for the request.