Skip to content

Commit

Permalink
fix(api): update embedding response object type (openai#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored and wangshudong committed Nov 10, 2023
1 parent a1e0395 commit 69ae0fa
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 69ae0fa

Please sign in to comment.