Your First Automation
AI Automations in Turingpaper
Turingpaper is focused on "Agentic" AI automations. In Turingpaper almost everything will be done by the AI agent using tools such as:
file_readto read files that have been uploadedfile_createto create a new filesfetch_contentto fetch the content from websitesinternet_searchto search for something on the Internetimage_gento generate images based on some textpostgres_execto execute SQL queries and statements in a Postgres database
Creating Your First Automation
Create a new project
Click "Create New Project" button to create a new project.
Rename the project
Double click the name "New Project" and rename it to "Banner Image Maker" and hit enter to save the new name.
Experiment
Open a new chat with the Generalist agent, and paste the following into the chat:
Use the tool
fetch_contentto fetch the content from https://turingpaper.ai and create a banner image using the toolimage_genthat is based on the content of the page, and output the PNG to/banner.png.
Check results
Open /banner.png by clicking on the file name in the left side
navigation to see the result.
Create a new prompt
In the left side navigation find the "..." to the right of Prompts, and open the menu. Create a new prompt, and paste the instructions below:
Use the tool `fetch_content` to fetch the content from `{{webpage}}`
and set the output_path of `fetch_content` to "-" so that you see
the text output directly without saving to a file.
Based on the content of the page write a vivid prompt to create a banner
image using the tool `image_gen`.
Set the output_path of `image_gen` to `{{output_path}}` so that it is
saved to an image file.Congratulations!
If you open the Prompts section of the left side navigation you should now see a new prompt with an auto-generated name.
Double click the name and rename the prompt to banner_image_generator
and hit the Enter key to save the new name.
Prompts are usable as tools by the AI agents in Turingpaper. You can
ask the agent to use the new banner_image_generator in the chat or
in other prompts and functions.
Give it a try!
In the chat ask the Generalist agent to do the following:
Use the tool
banner_image_generatorwith the URL: https://docs.turingaper.ai and output_path/banner2.png