1. Help Center
  2. All About Tess AI
  3. 🎥 AI Studio | Creating Agents on Tess AI 🎥

How to Use Input Fields and Textarea in Your Templates

template-planejamento-de-viagem-header

Storytelling is an art that involves captivating, moving and involving your audience. And to help you with your storytelling skills, how about building an AI model? 

In this tutorial, we'll go a little deeper into Input Groups. This is an intermediate level of knowledge, so it's important that you've at least read the Text Templates Tutorial.

If you have, we think you've understood the basics of creating templates and it's now time to explore a little further what input groups are available. 

 

Learn How to Use Input Fields and Textarea in Your Templates


To begin your discovery of Tess AI, we're going to explore two input groups and their applications in a template:

Input Field: by selecting this type, you enable the user to enter short texts for more objective answers.

Textarea field: you can enable the user to enter large blocks of text if your template requires a lot of information.

At this point, we'll select the input field, as shown in the image below:

Captura de tela 2024-03-06 122635

To recap the steps that will help you organize and bring your template ideas to life, keep the following steps in mind:

1- Elaborate the idea;
2- Develop a prompt (command);
3- Test the prompt with the Tess AI assistant;
4- Refine the prompt;
5- Create the template.

For the initial fill-in: "My New AI", the process is intuitive and you should already know how to fill in each field and why.

 

1. My New AI


So, just to confirm, here's how this field was filled in:

Captura de tela 2024-03-06 130757

Idea: Develop a script for a narration. This Template should be able to develop a narrative on a central theme, the richness of detail should be according to the time and subject, so it should be possible to define the time of the narration and ask for a recap in topics of the main points at the end.

Prompt approved: "Take on the persona of an experienced scriptwriter and develop a script for narration on the specified theme, exploring the subject according to the time frame of the script. At the end, give a recap of the main topics covered in the script.

Narration time: **time-in-minutes** minutes.

Theme: **theme**

Criticism: Separate each paragraph of narration by the time of each speech, do not mention the narrator under any circumstances, or put "Narrator:" before the paragraph, just deliver what was requested as best you can. Result:"

Notice that we have specified two pieces of information that will need Input Groups, the data **time-in-minutes** and **theme**.

**Time-in-minutes** will be a short text field, so we will use an "Input Field" so that the user only fills in the number of minutes they want.

As for the **theme**, we want the user to feel free to provide information, so a "Textarea Field" will be more than welcome.

 

2. Entry Groups

 

Captura de tela 2024-03-06 131829

For this template, there will be no need for a step connecting to another AI, so we'll just enter the prompt information and click "Save" as shown below:


Step 3 and 4

Captura de tela 2024-03-06 133808

Note that if you don't use the entries between asterisks inside the Prompt, what the user types in the Input Group won't be used. So make sure it's filled in exactly as in the "Entries Created" box, including the **asterisks**.

Once your template has been sent for approval, simply use it via the link provided in "My IAs" and test your new creation.


My IAs


See the final result:

Captura de tela 2024-03-06 134511

You can edit your prompt once it has been approved, refining it as many times as necessary until it looks just like you.

This is another tutorial on creating templates using Tess AI. Be sure to follow our updates and resources as we continue to expand the possibilities of AI.

A world of possibilities awaits you, start creating your Artificial Intelligence now!

pareto-blog-banner-tess-ai