Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyydu committed Oct 22, 2024
1 parent aad47cd commit dafde17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions getting-started/CONCEPTS/STREAMING.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ You can configure streaming with your bot by following these steps:

#### Optional additions:
- Set the informative message in the `ActionPlanner` declaration via the `StartStreamingMessage` config.
- Set the feedback loop toggle in the `ActionPlanner` declaration and specify a handler.
- As previously, set the feedback loop toggle in the `AIOptions` object in the `ai` declaration and specify a handler.
- Set attachments in the final chunk via the `EndStreamHandler` in the `ActionPlanner` declaration.

#### C#
Expand Down Expand Up @@ -155,7 +155,6 @@ const planner = new ActionPlanner({
defaultPrompt: 'default',
startStreamingMessage: 'Loading stream results...', // Set informative message
endStreamHandler: endStreamHandler // Set final chunk handler
enableFeedbackLoop: true, // Set the feedback loop
});
```

Expand Down

0 comments on commit dafde17

Please sign in to comment.