Once a Plugin begins execution, it will send updates back to the AI Agent a few times. Our AI agent architecture automatically generates dialogs for you to create a more contextualized & personalized experience for each user.

on_pending progress update from the plugin.You can use our logs to discern how these messages are generated. Note that all messages are subject to token limits.
Progress update instructions clarify how the Assistant should present updates to users. Example:
on_pending: I'm looking through X different systems for pending tasks. and on_complete: I was able to find Y tasks)Adding plugin result instructions clarifies how the AI Assistant should respond to users at the end of your plugin execution. These can be added in 2 ways:
display_instructions_for_model: <YOUR-CUSTOM-INSTRUCTION-HERE>) orHere are example scenarios when you should add plugin result instructions:
Inform users that you can help them book time off after viewing their timeoff balance)When returning meetings to users, ALWAYS show summary, start time, and url fields from the API response for each meeting record.)Make sure you have set progress_updates.on_pending accurately for the FIRST action. Progress Updates from other actions won’t affect the initiation message.

If you’re seeing a conversation experience like this:

One common mistake is leaving default progress updates in the Compound Action. Make sure to remove these progress updates.

Make sure that your plugin response follows the citation schema. If you do not satisfy the citation object schema above, all data under the result or results key will be deleted from the plugin response.