Explain the following text. Enter a memorable name so you can easily find and run it…
- User
Explain the following text.
Enter a memorable name so you can easily find and run it later, e.g. "Rephrase as Tweet". Enter a suitable prompt. For example, you can write something like "Rephrase the following text to make it a tweet". Here's the fun part! To achieve the required functionality, you'll need to add a special parameter that tells the extension to pass the selected text or input text to the AI. For instance, {input} or {selection} gets the input (selected) text. ℹ️ We call this feature dynamic placeholders, and you can read more about them here.
Your final product would look something like this! Just press Save to create your custom command.
- Assistant
The text provides instructions for creating a custom command using an extension that interacts with an AI. Here’s a breakdown of the key points:
-
Memorable Name: The user is encouraged to give their command a memorable name, like "Rephrase as Tweet," to easily find and execute it later.
-
Prompt Creation: Users should enter a prompt for what they want the AI to do, such as "Rephrase the following text to make it a tweet".
-
Dynamic Placeholders: The text explains the need to include a special parameter that allows the extension to send selected or input text to the AI for processing. Examples of these parameters are
{input}or{selection}, which will automatically insert the relevant text. -
Instructions for Saving: Finally, once the user has set up their command with a name, prompt, and dynamic placeholders, they can save it to create their custom command.
The overall purpose is to guide users on how to set up a personalized function that leverages AI to process text based on their specifications.
-