Skip to content

Commit

Permalink
fix(api): update embedding response object type (#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Nov 9, 2023
1 parent ebdcc3f commit ee28c46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/openai/types/create_embedding_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

0 comments on commit ee28c46

Please sign in to comment.