Skip to content

Commit

Permalink
added default value to logprobs (openai#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
davorrunje authored and stainless-bot committed Jan 9, 2024
1 parent be5f689 commit a466baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openai/types/chat/chat_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Choice(BaseModel):
index: int
"""The index of the choice in the list of choices."""

logprobs: Optional[ChoiceLogprobs]
logprobs: Optional[ChoiceLogprobs] = None
"""Log probability information for the choice."""

message: ChatCompletionMessage
Expand Down

0 comments on commit a466baa

Please sign in to comment.