You can import AI commands from a JSON file using the Import AI Commands
command (available in Raycast 1.53.0+).
JSON Format
The JSON format should be an array of AI commands with properties as described below:
Property | Title | Type | Required? |
title | Command title | string | ✅ |
prompt | Command prompt | string | ✅ |
creativity | Command creativity (= temperature) | "none" | "low" | "medium" | "high" | "maximum" | ❌ |
icon | Command icon: kebab-case. (e.g AddPerson becomes add-person ) | string | ❌ |
model | Command model (Requires GPT-4) | "openai-gpt-3.5-turbo" | "openai-gpt-4” | ❌ |
[
{
"title":"Write 10 Alternatives",
"prompt":"Give me 10 alternative versions of the text. Ensure that the alternatives are all distinct from one another.\n\nText:\n\nAlternatives:",
"creativity":"high",
"icon":"shuffle"
},
{
"title":"Find Synonyms",
"prompt":"Find synonyms for the word {selection} and format the output as a list. Words should exist. Do not write any explanations. Do not include the original word in the list. The list should not have any duplicates.",
"creativity":"medium",
"icon":"text",
"model":"openai-gpt-4"
}
]
After the import is completed, you will see how many AI commands were added and how many duplicates were skipped, if any. If a command has the same title and prompt, it's considered a duplicate.
Prompts Explorer
You can find ready made AI commands at prompts.ray.so