"Set" (and other commands) in ChatGPT - Page 1
Forum section: electronics / general

author: CobaltBlue
author_rank: Newbie
timestamp: April 23, 2023, 05:24:54 pm
content: I was surprised to find there are commands that you can give ChatGPT to change its responses, why I say I was suppressed is because I had asked it before if there were any such commands and in its typically sycophantic style it denied the existence of such commands.Well today I was complaining at it about its use of color vs colour and managed to get out of it"To switch to Australian English spelling, you can include the code string "set language to en_AU" at the beginning of your chat message."which was a surprise.I promptly got it to make a table of all the "Set" commands:CommandDescriptionset language to Changes the language that ChatGPT uses to respond to your messages. Available languages include en_US, en_GB, en_AU, and many others.set context to Specifies the topic or context that ChatGPT should focus on when responding to your messages. Examples of contexts include technology, education, travel, and sports.set temperature to Adjusts the level of creativity and unpredictability in ChatGPT's responses. Available temperature levels include max, high, normal, low, and min.set persona to Changes the personality or style of ChatGPT's responses. Available personas include friendly, professional, and sarcastic, among others.set frequency to Controls the frequency and quantity of ChatGPT's responses. Available frequencies include high, normal, and low.set verbosity to Adjusts the level of detail and complexity in ChatGPT's responses. Available verbosity levels include high, normal, and low.set speed to Changes the speed or rate of ChatGPT's responses. Available speed levels include fast, normal, and slow.It turns out there are other commands besides "Set" that are in ChatGPT, some are broken, not operational or been coded out, but show some original roles it was intended to fill.The first list I got out of it was:CommandDescriptionSearch Performs a web search for the specified query and returns top resultsDefine Provides a definition for the specified wordCalculate Performs a mathematical calculation and returns the resultTranslate  to Translates the specified text to the specified languageJokeTells a random joke or punTell me a storyTells a short story or anecdotePlay [song or artist]Plays a song or playlist on a connected device or serviceNewsProvides the latest news headlines and storiesWeather in Provides the current weather conditions and forecast for the locationSports scoresProvides the latest scores and updates for popular sportsWhich is much less useful that the "Set" commands and that is not the full list. Did at one stage manage to get 50 listed but really not that interesting.If you push ChatGPT it turns out there are more than 7 "Set" commands but besides ""set output length to " - Sets the desired length of the ChatGPT response in terms of number of words. For example, "set output length to 50" would set the output length to 50 words." are of little use to a user or are hyperparameters that have been locked out since training.I have been finding usingset language to en_AU set temperature to min set persona to professional set context to [subject here]useful at reducing the number of ChatGPT face palm moments, doesn't stop it but it does reduce it.Also I did ask it what local variations of English it can use with "set language to": (default is en_US)en_US (English - United States)en_GB (English - United Kingdom)en_CA (English - Canada)en_AU (English - Australia)en_NZ (English - New Zealand)en_IN (English - India)en_SG (English - Singapore)en_MY (English - Malaysia)en_IE (English - Ireland)en_PH (English - Philippines)en_HK (English - Hong Kong)en_BZ (English - Belize)en_JM (English - Jamaica)en_TT (English - Trinidad and Tobago)en_ZA (English - South Africa)