Skip to content

Commit 12e50d1

Browse files
committed
formatting
1 parent 85d0f5e commit 12e50d1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/mistralai/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ async def chat_stream(
274274
[{role: 'user', content: 'What is the best French cheese?'}]
275275
temperature (Optional[float], optional): temperature the temperature to use for sampling, e.g. 0.5.
276276
max_tokens (Optional[int], optional): the maximum number of tokens to generate, e.g. 100. Defaults to None.
277-
top_p (Optional[float], optional): the cumulative probability of tokens to generate, e.g. 0.9.
277+
top_p (Optional[float], optional): the cumulative probability of tokens to generate, e.g. 0.9.
278278
Defaults to None.
279279
random_seed (Optional[int], optional): the random seed to use for sampling, e.g. 42. Defaults to None.
280280
safe_mode (bool, optional): whether to use safe mode, e.g. true. Defaults to False.

src/mistralai/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def chat(
116116
[{role: 'user', content: 'What is the best French cheese?'}]
117117
temperature (Optional[float], optional): temperature the temperature to use for sampling, e.g. 0.5.
118118
max_tokens (Optional[int], optional): the maximum number of tokens to generate, e.g. 100. Defaults to None.
119-
top_p (Optional[float], optional): the cumulative probability of tokens to generate, e.g. 0.9.
119+
top_p (Optional[float], optional): the cumulative probability of tokens to generate, e.g. 0.9.
120120
Defaults to None.
121121
random_seed (Optional[int], optional): the random seed to use for sampling, e.g. 42. Defaults to None.
122122
safe_mode (bool, optional): whether to use safe mode, e.g. true. Defaults to False.
@@ -159,7 +159,7 @@ def chat_stream(
159159
[{role: 'user', content: 'What is the best French cheese?'}]
160160
temperature (Optional[float], optional): temperature the temperature to use for sampling, e.g. 0.5.
161161
max_tokens (Optional[int], optional): the maximum number of tokens to generate, e.g. 100. Defaults to None.
162-
top_p (Optional[float], optional): the cumulative probability of tokens to generate, e.g. 0.9.
162+
top_p (Optional[float], optional): the cumulative probability of tokens to generate, e.g. 0.9.
163163
Defaults to None.
164164
random_seed (Optional[int], optional): the random seed to use for sampling, e.g. 42. Defaults to None.
165165
safe_mode (bool, optional): whether to use safe mode, e.g. true. Defaults to False.

0 commit comments

Comments
 (0)