Tool Usage
There are currently four tools available that you can enable for the bot by going to the experiment’s edit page.
Please make sure that your selected model supports function calling / tool usage before enabling it for the model. For now you will have to go to the provider’s documentation and check to see if it supports function calling.
Base LLM
When using tools you must reference the {participant_data}
and {current_datetime}
variables in your prompt.
Recurring Reminder
Enable to give the bot the ability to create recurring reminder messages
One-off Reminder
Enable to give the bot the ability to create a single reminder message for the user
Move reminder date
Enable to give the bot the ability to update the schedules of any of the user’s scheduled messages. These scheduled messages will typically be created through the events framework by the experiment admin. Please note that the user will not be able to update the schedule by more than a week.
Delete reminder
Enables the bot to delete a reminder that was created by the participant.
Update Participant Data
This allows the bot to update the participant’s data by specifying a
key
andvalue
to set in the data.
Assistants
Assistants can also use the above mentioned tools. To enable tools for assistants, head over to the assistant’s configuration page and select which tools to enable.