@@ -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