@@ -32,6 +32,7 @@ def create(
3232 frequency_penalty : float | None = None ,
3333 min_p : float | None = None ,
3434 logit_bias : Dict [str , float ] | None = None ,
35+ seed : int | None = None ,
3536 stream : bool = False ,
3637 logprobs : int | None = None ,
3738 echo : bool | None = None ,
@@ -75,6 +76,7 @@ def create(
7576 logit_bias (Dict[str, float], optional): A dictionary of tokens and their bias values that modify the
7677 likelihood of specific tokens being sampled. Bias values must be in the range [-100, 100].
7778 Defaults to None.
79+ seed (int, optional): Seed value for reproducibility.
7880 stream (bool, optional): Flag indicating whether to stream the generated completions.
7981 Defaults to False.
8082 logprobs (int, optional): Number of top-k logprobs to return
@@ -107,6 +109,7 @@ def create(
107109 repetition_penalty = repetition_penalty ,
108110 presence_penalty = presence_penalty ,
109111 frequency_penalty = frequency_penalty ,
112+ seed = seed ,
110113 min_p = min_p ,
111114 logit_bias = logit_bias ,
112115 stream = stream ,
@@ -153,6 +156,7 @@ async def create(
153156 frequency_penalty : float | None = None ,
154157 min_p : float | None = None ,
155158 logit_bias : Dict [str , float ] | None = None ,
159+ seed : int | None = None ,
156160 stream : bool = False ,
157161 logprobs : int | None = None ,
158162 echo : bool | None = None ,
@@ -196,6 +200,7 @@ async def create(
196200 logit_bias (Dict[str, float], optional): A dictionary of tokens and their bias values that modify the
197201 likelihood of specific tokens being sampled. Bias values must be in the range [-100, 100].
198202 Defaults to None.
203+ seed (int, optional): Seed value for reproducibility.
199204 stream (bool, optional): Flag indicating whether to stream the generated completions.
200205 Defaults to False.
201206 logprobs (int, optional): Number of top-k logprobs to return
@@ -230,6 +235,7 @@ async def create(
230235 frequency_penalty = frequency_penalty ,
231236 min_p = min_p ,
232237 logit_bias = logit_bias ,
238+ seed = seed ,
233239 stream = stream ,
234240 logprobs = logprobs ,
235241 echo = echo ,
0 commit comments