Overview
Additional instructions allow you to pass additional context to the agent at the time of the request. Typically, this is used to pass session or specific user data. For example, if user is already signed in on your application, and you know their email, there is no reason for the agent to as it again. So, you can simply add in additional instructions: “The current user’s email is myemail@example.com please use this to submit all customer support tickets”Usage
Widgets
To use additional instructions in widgets, simply add them in the third parameter in the ChatComponent ****init()
function like below.

CustomGPTs
To use additional instruction with CustomGPTs, add a script tag to handle your instructions or dynamic data to the Custom GPT. Here’s an example of how you can extend the above HTML code with a script:
API
For web api, simply useadditionalInstructions
in get_completion
POST endpoint. For more details, see: API reference