From ee28c46f8178951dc72591883d07927bf27d0199 Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Wed, 8 Nov 2023 19:16:55 +0000 Subject: [PATCH] fix(api): update embedding response object type (#739) --- src/openai/types/create_embedding_response.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openai/types/create_embedding_response.py b/src/openai/types/create_embedding_response.py index 7382bed6b9..bf64037e16 100644 --- a/src/openai/types/create_embedding_response.py +++ b/src/openai/types/create_embedding_response.py @@ -24,8 +24,8 @@ class CreateEmbeddingResponse(BaseModel): model: str """The name of the model used to generate the embedding.""" - object: Literal["embedding"] - """The object type, which is always "embedding".""" + object: Literal["list"] + """The object type, which is always "list".""" usage: Usage """The usage information for the request."""