AI Task Overview
The AI Task is a tool for generating content using AI 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.Task Instructions
To accomplish a generative task using the AI Task Card, users will need to provide specific instructions in natural language on what they want the AI engine to generate. This can be done using the Task Instructions parameter. Users should provide a clear and detailed description of the task they want the AI engine to perform, including any relevant constraints or guidelines that should be followed. There is a certain date beyond which the information isn’t available to the AI model. You can find that date on the model you use (for example GPT-3-5 ). If you want to get around this, please use a Knowledge Base and add its answer as an input to give context to the AI Task.AI Task Input
This is the input that will be sent to the Generative AI Engine. Think of it as the problem subject. Users should be as specific as possible when providing the AI task input, as this will help the AI engine generate more accurate and relevant content. You can use multiple variants as an input - not limited to: To make your AI task take into account the current date, you need to include it in the input by using this code snippet that shows the current date in JavaScript format:Today's date: {{ new Date().toLocaleString() }}
Storing result in variables
This allows users to specify the variables where the extracted information will be stored within Botpress. It’s important to choose variable names that are easy to understand and identify, as these variables will be used to reference the generated content in other parts of the Studio and it will influence the AI task on what to extract and how.Task Example
Example Input
By providing clear and realistic examples, you can help the AI better understand its task and be used\to solve real-world problems and generate useful content. This can ultimately lead to a more successful and productive experience for users who are targeting the power of artificial intelligence in their Workflows.