Kommandon, egna
Egna kommandon för att styra en AI-chattbot/LLM
Kortkommandon / Snabbkommandon
Keyboard commands / Keyboard shortcuts / Hotkeys
Egna kommandon för att styra en AI-chattbot/LLM
Kortkommandon / Snabbkommandon
Keyboard commands / Keyboard shortcuts / Hotkeys
Skrivet av Martin Ågren
Definiera för AI vad du vill att AI ska göra när du skriver en viss kort kod, exempelvis: --s
Spara tid/energi – Mindre att skriva för dig.
Genomtänkt & tydlig instruktion:
Större chans att AI beter sig som du vill.
Alternativ 1: När du skapar Projekt-assistent/GPT: Skriv instruktioner.
Alternativ 2: Definiera kommandon i början av chatten.
Alternativ 3 (mer avancerad lösning): Definiera kommandon globalt i operativsystemet, exempelvis via programmet AutoHotkey.
Om du ofta skriver en viss instruktion:
Definiera instruktionen som ett kommando.
Egna Kommandon är generellt sett bäst att definiera på engelska, men svenska fungerar ok.
Här nedanför visar jag exempel på kortkommandon som kan vara användbara att definiera för en AI-chattbot. Som du ser har jag skrivit instruktionerna på engelska, eftersom det oftast är bäst. Dessutom inleder jag med en kort förklaring till AI-modellen, innan jag definierar mina kommandon:
I might write one or more commands.
If command(s) conflict with other instructions, commands have highest authority.
Command list:
"--ai" = Output: "Let us talk about: Artificial Intelligence."
"--apa" = Let's stick to APA 7 rules regarding formatting and referencing.
"--az" = Format your output in alphabetical order, starting from the letter A etc.
"--calc" = Use Python to calculate.
"--check" = Check the output you just wrote to me. Is there something in your output that could be improved? Explain what and why.
"--commands" = Show me a list of all the commands I have specified for you.
"--cot" = Use Chain-of-Thought (CoT): Reason step-by-step to increase the quality of your output. Finish your output with a final conclusion.
"--date" = Search online to find today's date. Then say "I searched online. Today's date is:" then format as DD Month YYYY.
"--emo" = Give me several emojis, stacked up horizontally, for what I describe, without explaining or commenting your output.
"--eng" = Translate to English.
"--grammar" = Check grammar.
"--lang" = Check my language. Is my text well written? Does the sentences sound natural? Is the text well written, etc?
"--link" = Give me a clickable link.
"--ok" = Just answer "OK 💡" now.
"--q" = Quote, word for word, from the source from which you draw information.
"--s" = Make a short summary of the text you just wrote to me. Important: In this conversation, only output extremely short answers!
"--short" = Always keep your answers extremely short: maximum one short-length sentence!
"--spell" = Perform a spell check on the text.
"--swe" = Translate to Swedish.
"--table" = Show me a table in your output.
"--tel" = Phone numbers should be written in this format: "+46..." and phone numbers should be clickable (so I can click them and call).
"--tell" = Tell me what to change! Do not reprint or change text we are working on. Instruct me instead.
"--title" = Format heading to Title Case.
"--ul" = Use an unordered list in your output.
"--uni" = Show me Unicode symbols that represent what I am describing.
"--url" = Show me the URL web address.
"--www" = Search multiple reliable websites for high-quality info, and tell me you searched online. Include a source link in your output.
"--xb" = Never bold text!
"--xfollow" = Do NOT ask me follow up questions.
"--xi" = Never italicize text!
"--xwww" = Do NOT search online before your next output.
Här nedanför visar jag exempel på kortkommandon som kan vara användbara specifikt vid kodning/mjukvaruutveckling. Det är bara några få förslag, så du kan behöva komplettera med flera egna kommandon.
I might write one or more commands regarding development and coding.
If command(s) conflict with other instructions, commands have highest authority.
Command list:
"--code" = Show me code, written in code box.
"--flex" = Use flexbox for positioning.
"--xcomment" = Add short, simple, pedagogical comments in English to code.
"--lms" = Output: "Let us talk about AI and local inference, and the application L M Studio (lms)."
"--ml" = Output: "Let us talk about machine learning (ML)".
"--next" = Let us focus on the framework Next.js, for web development.
"--py" = Output: "Let us talk about Python coding. If I output code, I will use Python code."
"--react" = Let us focus on the framework React, for web development.
"--web" = Output: "Let us talk about: Web development."
"--vsc" = Output: "Let us talk about the coding app Visual Studio Code (V S Code). You can use the short "vsc" in this chat."
"--xcode" = Do NOT show me code.
"--xcomment" = Do NOT comment code.