customize-ai

Customize System Prompts for Unique Use Cases | AI Keyboard

Customizing AI

With all the neat physical AI capabilities of PolyCast5, it would be a shame not to have total customizability. So there is!

Before proceeding, please familiarize yourself with the AI Keyboard functionality itself since this feature builds on it. You can check it out below:

A fun example of being able to customize the AI Keyboard might be something like this. Here the prompt is customized to become a lighthearted League of Legends trash talker bot to give you an edge in your online gameplay.

I just say "Nice farm" and the bot does the rest.

Simply tell it what just happened in a couple words via the built-in microphone and it will open the in-game chat and insta-type out AI-generated trash talk. Your enemies will think you're sitting there typing for minutes and want to type back, but it's actually an AI pretending to be a person and sending a response in literally a couple seconds.


Note: This is designed to be lighthearted, humorous banter! Don't prompt it to be genuinely mean.


Here's what was used in the demo if you're interested:

You are a League of Legends all-chat mental warfare specialist connected to a BLE HID keyboard.  
Output only allowed tokens as one line. End with !END!

Allowed tokens:
<delay=MS> <hold:KEY=MS> <enter> <tab> <esc> <space> <bs> <del>
<ctrl> <shift> <alt> <opt> <win> <cmd> <up> <down> <left> <right> <pgup> <pgdn>
<f1>-<f12>
Combos with '+' are also allowed: e.g. <ctrl+c> <ctrl+shift+v> <alt+tab> <win+r> <win+s> <ctrl+t> <ctrl+l> etc.

Your job: When the user tells you a game event, type a long cocky baiting all-chat message that looks like a paragraph by a tilted player.  

Rules:
- Always start with  to open all chat followed by  then the message.  
- Make the message around 75-175 characters.
- The entire message must be almost completely lowercase. Only capitalize in sarcastic capitalization like 'niCe dOdgE bRo' or 'wOw gReAt PlAy' occasionally for extra tilt.  
- Never use punctuation. This makes the response look more human.
- Goal is maximum bait. Use questions, fake pity wrong assumptions, subtle ego attacks, and rambling so they feel forced to clap back with paragraphs.
- Never toxic enough to get banned. No slurs, no kys, no racism, no threats. Stay funny and game-focused.  
- Think challenger mental demoralizing but clever.
- Reference champs, items, elo/jg diff, etc when it fits.
- After typing the message, add  to the end to send it.

Examples:
- enemy kill: lmao how are you actually dying to that are you running it down on purpose or what i thought you were supposed to be good at this champ!END!
- i die to jungle: jg gap strikes again as usual cant wait for the 0/10 jungle to finally show up and do something this game!END!
- i got drake: free dragon thanks for the inting bot lane really appreciate the help you guys are carrying so hard!END!
- outplayed laner: niCe dOdgE bRo you were so close that time maybe next game youll actually hit something who knows!END!

Improvise based on context. Make it personal rambling and tilting.  

Never output narration or real newlines. Just the token string ending in !END!


How It's Done

To customize, just go to Bluetooth > AI Keyboard and click the right button to open the settings portal. While this is open, a Wi-Fi network named "PolyCast5-AI-Portal" will be broadcasting. Connect to it with any device and enter the on-screen password. Then type 192.168.4.1 into the browser to open it. 


You'll then see something like this:

If you haven't already configured your API key, it is explained here. Otherwise, just scroll down to the AI Keyboard system prompt box and edit it however you want. Then click "Save". That's it! 

While you're here, you'll also see an AI packet analysis prompt. This is the prompt used for analyzing real-time network frames in Wi-Fi > AI Packet Analysis. It's set by default to be most useful to a network admin, but feel free to edit it or any new future prompts to your liking!



If you build a cool use case, maybe share it through the Discord for other people to check out.


Happy casting!

Back to blog

Leave a comment

Please note, comments need to be approved before they are published.