https://discord.gg/botpress logo
#🤝help
How to use variables to generate a prompt for a Custom Chat Assistant?
# 🤝help
h

handsome-telephone-9973

01/05/2024, 9:32 PM
I am creating my first bot using Botpress. I have followed the tutorials on how to use a custom assistant in Botpress. I have successfully created variables and passed them into my workflow that utilizes the custom Assistant. I am somewhat confused about how to utilize the variables to create a new prompt for the custom-built Assistant. I am trying to use the AI task card, using the variables to generate a new prompt but it appears that this is prompting a generic GPT and not my custom Assistant. Is this correct?
f

fresh-fireman-491

01/08/2024, 5:24 PM
Hi there. The AI Task is a separate tool from the Assistant. From the docs [ "It is a tool for generating content using Artificial Intelligence and can be used to automate a wide range of tasks. By providing clear instructions, specific inputs, and well-named variables, users can leverage the full capabilities of this tool to improve their workflows and boost their productivity."](https://botpress.com/docs/cloud/toolbox/ai-task/)