Explain the following text. Enter a memorable name so you can easily find and run…
- User
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. User: 中文回答 Assistant:
-
- Assistant
这段文字提供了关于如何使用一个与AI互动的扩展创建自定义命令的说明。以下是关键点的总结:
-
可记忆名称:用户被鼓励为他们的命令指定一个易于记忆的名称,比如“转化为推文”,以便稍后能够轻松找到和执行它。
-
提示内容创建:用户应输入一个提示,说明他们希望AI执行的任务,例如“将以下文本转化为推文”。
-
动态占位符:文本解释了需要添加一个特殊参数,以便扩展能够将选定的文本或输入的文本传递给AI进行处理。这些参数的例子包括
{input}或{selection},它们将自动插入相关文本。 -
保存指示:最后,一旦用户设置好他们的命令,包括名称、提示和动态占位符,他们可以保存该命令,创建自定义功能。
整体目的是指导用户如何设置一个个性化的功能,利用AI根据他们的规定处理文本。
-