Skip to content

Commit

Permalink
Update doc/functions/openAIChat.md
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Creutzig <[email protected]>
  • Loading branch information
MiriamScharnke and ccreutzi authored Jul 30, 2024
1 parent b0f15e2 commit 595316f
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 595316f

Please sign in to comment.