@@ -51,15 +51,15 @@ def with_streaming_response(self) -> CompletionsResourceWithStreamingResponse:
51
51
def create (
52
52
self ,
53
53
* ,
54
- frequency_penalty : int | NotGiven = NOT_GIVEN ,
54
+ frequency_penalty : float | NotGiven = NOT_GIVEN ,
55
55
logit_bias : Dict [str , int ] | NotGiven = NOT_GIVEN ,
56
56
logprobs : bool | NotGiven = NOT_GIVEN ,
57
57
max_tokens : int | NotGiven = NOT_GIVEN ,
58
58
messages : Iterable [ChatMessageParam ] | NotGiven = NOT_GIVEN ,
59
59
model : str | NotGiven = NOT_GIVEN ,
60
60
n : int | NotGiven = NOT_GIVEN ,
61
61
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
62
- presence_penalty : int | NotGiven = NOT_GIVEN ,
62
+ presence_penalty : float | NotGiven = NOT_GIVEN ,
63
63
response_format : Literal ["json_object" , "text" ] | NotGiven = NOT_GIVEN ,
64
64
seed : int | NotGiven = NOT_GIVEN ,
65
65
stop : List [str ] | NotGiven = NOT_GIVEN ,
@@ -174,15 +174,15 @@ def with_streaming_response(self) -> AsyncCompletionsResourceWithStreamingRespon
174
174
async def create (
175
175
self ,
176
176
* ,
177
- frequency_penalty : int | NotGiven = NOT_GIVEN ,
177
+ frequency_penalty : float | NotGiven = NOT_GIVEN ,
178
178
logit_bias : Dict [str , int ] | NotGiven = NOT_GIVEN ,
179
179
logprobs : bool | NotGiven = NOT_GIVEN ,
180
180
max_tokens : int | NotGiven = NOT_GIVEN ,
181
181
messages : Iterable [ChatMessageParam ] | NotGiven = NOT_GIVEN ,
182
182
model : str | NotGiven = NOT_GIVEN ,
183
183
n : int | NotGiven = NOT_GIVEN ,
184
184
parallel_tool_calls : bool | NotGiven = NOT_GIVEN ,
185
- presence_penalty : int | NotGiven = NOT_GIVEN ,
185
+ presence_penalty : float | NotGiven = NOT_GIVEN ,
186
186
response_format : Literal ["json_object" , "text" ] | NotGiven = NOT_GIVEN ,
187
187
seed : int | NotGiven = NOT_GIVEN ,
188
188
stop : List [str ] | NotGiven = NOT_GIVEN ,
0 commit comments