Skip to content

Commit 29182c4

Browse files
fix(api): update embedding response object type (#739)
1 parent 0ac1abb commit 29182c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/openai/types/create_embedding_response.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class CreateEmbeddingResponse(BaseModel):
2424
model: str
2525
"""The name of the model used to generate the embedding."""
2626

27-
object: Literal["embedding"]
28-
"""The object type, which is always "embedding"."""
27+
object: Literal["list"]
28+
"""The object type, which is always "list"."""
2929

3030
usage: Usage
3131
"""The usage information for the request."""

0 commit comments

Comments
 (0)