Ask AI
Last updated
Last updated
The quality of the results of your AI depend greatly on the selected AI provider. Local on-device models are more often less powerful than the cutting edge online models.
The Ask AI action is the core of Inbox AI. Below is a substantial example.
Ask AI actions have the following fields:
Provider / Model The selected AI provider for this AI action. See Quick Start for how to setup providers.
Output Specifies what to do with non-action messages of the AI model. Ignoring them will force the AI to run actions, but you can also choose to display them or speak them out loud.
Next Action Normal actions each have a Next Action Field, but the Ask AI action has a special option here: "Chosen by AI". Selecting this option, allows the AI to pick its follow-up action itself from the actions you provide. The blue bubbles represent actions your AI can choose to take.
Prompt This is the core field that teaches the AI what you hope to achieve. You can prompt in any language and use both Action Variables and Templating to achieve your goal. It is beyond the scope of this guide to teach prompting. Try looking online for resources on how to prompt well.
Allowing multiple turns allows your API to execute actions, and act on their results in follow-up turns. This unlocks powerful agent chains. Some actions automatically return their results (i.e.Take Screenshot, Get Selected Text), but you can also build custom actions that do so using the Return Result to Previous AI action in the Next Action Field.
Multiple turns are only supported when the AI chooses its next action.
It is often a good idea to add a Do Nothing action to your actions for multiple turn Ask AI actions, this allows the AI to choose to stop.