Commit ee28c46f

Stainless Bot <107565488+stainless-bot@users.noreply.github.com>
2023-11-09 03:16:55
fix(api): update embedding response object type (#739)
1 parent ebdcc3f
Changed files (1)
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."""