Welcome to your quick guide on configuring a tool from a prompt in Promptitude, perfect for daisy-chaining to enhance your workflow efficiency. Whether you're looking to streamline processes or integrate multiple functionalities, this guide will walk you through each step in a simple, user-friendly manner. Let's get started!
Download the Promptitude Template
First things first, you'll need to download the Promptitude template. This template is y
our starting point and provides the necessary structure to configure your tool. Click on the "Download Promptitude Template" and start now!
Practical Example: Creating a Translation Tool
My organization has a prompt that translates text, for instance, from English to Spanish. Now, it will be converted into a tool that will call the Promptitude API specifically for that prompt. It can then be called in other prompts and chats, enhancing its functionality.
1️⃣ Configure the Basic Data of the Tool
Once you have your template, it's time to input the basic data:
Navigate to Tools page > New Tool button in the upper right corner of your dashboard and click it.
Label and Name your tool to clearly explain its function.
Add a description that details the functionality of your prompt.
Remember, clarity is key—the more descriptive, the better.Upload an icon that represents your tool for easy identification.
Click Save to store your settings.
2️⃣ Configure the Parameters
Parameters are crucial as they define the input variables of your prompt. For each parameter you wish to include:
Label and Name: Assign a label and a name for each input variable.
Test Value: Set a default value that you typically use in your input variable.
Description: Provide a brief description of what each input does. Detailed technical specifics aren't necessary here.
3️⃣ Configure the Endpoint
Configuring the endpoint connects your tool to the Promptitude API:
Access the Integrate Tab:
Open the prompt that will become a tool in a new window and click on the Integrate tab.
Set Up the Endpoint:
Choose POST as the verb.
Enter the URL:
api.promptitude.io/v1/generate
.Set the body format to JSON and copy the prompt and inputs information from the Integrate tab.
Add a header where the Key is "Authorization" and the Value is your Bearer token.
4️⃣ Configure the Response
Decide how you want to handle the data returned from the API:
Choose "Path" as the response type and input
results.result
to specify which part of the response your tool should use.
✅ Test & Save
Before finalizing, it's crucial to test your configuration:
Click on the TEST button to send a request to the API.
Review the Raw Response. If you receive a response status of OK 200, your configuration is successful.
Save your settings to finalize the tool setup.
Congratulations!
You've successfully configured a tool from a prompt in Promptitude. This new tool can now be used within your prompts and chats to automate and enhance your workflows. Remember, each use of the tool in your projects will consume tokens, similar to using prompts within the chat.
Daisy-chaining prompts using tools like the one you've just created allows for a seamless connection of different functionalities. This method is not only efficient, saving time and reducing manual intervention, but also ensures higher quality results through refined outputs.
Now, experiment with chaining different prompts to optimize your workflow further. Whether generating a blog post, transforming it into a social media post, or creating a help article to turn into a video script, the possibilities are endless.
Enjoy the power of streamlined processes at your fingertips with Promptitude!