mirror of
https://github.com/james-m-jordan/openai-cookbook.git
synced 2025-05-09 19:32:38 +00:00
Fix typo in How_to_stream_completions.ipynb (#744)
Co-authored-by: Simón Fishman <simonpfish@gmail.com>
This commit is contained in:
parent
f6260a013e
commit
8d329cf9a3
@ -17,7 +17,7 @@
|
||||
"\n",
|
||||
"## Downsides\n",
|
||||
"\n",
|
||||
"Note that using `stream=True` in a production application makes it more difficult to moderate the content of the completions, as partial completions may be more difficult to evaluate. which has implications for [approved usage](https://beta.openai.com/docs/usage-guidelines).\n",
|
||||
"Note that using `stream=True` in a production application makes it more difficult to moderate the content of the completions, as partial completions may be more difficult to evaluate. This may have implications for [approved usage](https://beta.openai.com/docs/usage-guidelines).\n",
|
||||
"\n",
|
||||
"Another small drawback of streaming responses is that the response no longer includes the `usage` field to tell you how many tokens were consumed. After receiving and combining all of the responses, you can calculate this yourself using [`tiktoken`](How_to_count_tokens_with_tiktoken.ipynb).\n",
|
||||
"\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user