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

How to Use Text Inputs in Your Agents

 

Telling a story is an art that involves captivating, emotionally engaging, and involving your audience. To assist you with your storytelling skills, how about creating an AI model?

In this tutorial, we will delve a little deeper into User Inputs, exemplifying it with the creation of an agent. This is an intermediate level of knowledge, so it is important that you have at least followed the AI Agents Tutorial.

Learn How to Use Short and Long Text Inputs

To start your journey in Tess AI, we will explore two groups of input and their applications in a template, which are:

Short Text Field: by selecting this type, you enable the user to type short text for more objective responses.

Long Text Field: it is possible to enable the user to input large blocks of text, if your template requires a large volume of information.

At this moment, we will select the "Short Text" input, as shown in the image below:

[IMG]

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

1. Develop the idea;
2. Create a prompt;
3. Test the prompt with the Text Copilot;
4. Refine the prompt;
5. Create the agent.

In this tutorial, we will continue from Step 5. If you need to study the previous steps, you can follow the step-by-step guide by clicking here.

1. Creating the Agent

For the initial setup: we will start by defining the type of AI (chat, image, text). The process is simple, and all you need to do is choose from the options. If you wish, you can toggle between the AI models, filtering for a specific model. By default, the option “All LLM” will already be selected.

After that, we will move on to the more technical part of the creation process.

2. Prompt

Idea: Development of a script for narration. This Template must be able to develop a narrative on a central theme.

Prompt: “Assume the persona of an experienced screenwriter and develop a script for narration on the specified theme, exploring the subject according to the length of the script. At the end, summarize the main topics covered in the script.

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

Theme: **theme**

Critical: Separate each paragraph of narration by the time of each speech, do not mention the narrator in any case, nor put “Narrator:” before the paragraph, deliver only what has been requested in the best possible way. Result:”

3. User Inputs

Notice that we specified two pieces of information that will require 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” for the user to fill in only the number of minutes they want.

[IMG]

Regarding the **theme**, we want the user to feel free to provide information. Therefore, a "Long Text" works better in these cases.

[IMG]


Please note that if you do not use the inputs between asterisks in the Prompt, nothing the user types in the input will be used by the AI. So, make sure it is filled in exactly as in the created inputs, including the **asterisks**, or click on “+” to auto-fill.

[IMG]


For this model, there will be no need for a connection step with another AI, so we will continue to just insert the prompt and the input information.

4. Save

When your agent is ready, just click “Save” and “Preview” if you want to test it. You can also find it in AI Studio as a draft.

[IMG]



My Agents

You can validate your prompt after approval by testing, editing, and refining it until you give the model your personal touch.

If you want to publish it, just change the visibility in AI Studio. In that case, the agent is sent for approval.

This is yet another tutorial for creating models through Tess AI. Be sure to keep up with our updates and features as we continue to expand the possibilities of AI.

A world of possibilities awaits you - start creating your AI right now!