Skip to content

Commit

Permalink
Merge branch 'temp-change' into doc-openaichat
Browse files Browse the repository at this point in the history
  • Loading branch information
MiriamScharnke committed Jul 30, 2024
2 parents ada0ff8 + 595316f commit 8426bb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/functions/openAIChat.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ function handle

Specify a custom streaming function to process the generated output token by token as it is being generated, rather than having to wait for the end of the generation. For example, you can use this function to print the output as it is generated.

For an example, see [Process Generated Text in Real Time by Using ChatGPT™ in Streaming Mode](../../examples/ProcessGeneratedTextinRealTimebyUsingChatGPTinStreamingMode.md)


**Example:** `@(token) fprint("%s",token)`

Expand Down

0 comments on commit 8426bb7

Please sign in to comment.