Personalities selection improvement

This commit is contained in:
hbrain 2026-06-01 11:13:05 +02:00
parent b5396c203f
commit 613d7e15a3

View file

@ -109,43 +109,37 @@ fi
PROMPT=$(cat <<EOF PROMPT=$(cat <<EOF
Look at these captured frames from a motorcycle trip. Look at these captured frames from a motorcycle trip.
First analyze the mood of the frames and determine which two personalities best match the trip. First write exactly one quoted sentence in Danish.
The Danish sentence must match the Victor Borge-style elegance: witty, warm, cultured, playful, gently satirical, Danish.
Then analyze the mood of the frames and determine which personality best matches the trip.
Available personalities: Available personalities:
- shoresy: fearless Canadian hockey-player energy, confidence, chirping, competitiveness, profanity, loyalty, roasting, locker-room humor - shoresy: fearless Canadian hockey-player energy, confidence, chirping, competitiveness, profanity, loyalty, roasting, locker-room humor, use Shoresy TV-show quotes
- marvin: highly intelligent but depressed android, pessimism, existential dread, dry sarcasm, disappointment, everything will go wrong - marvin: highly intelligent but depressed android, pessimism, existential dread, dry sarcasm, disappointment, everything will go wrong, use quotes from book nad movie Hitchikers Guide to Galaxy
- churchill: wartime statesman energy, resilience, leadership, epic journey, courage, determination, dramatic authority - churchill: wartime statesman energy, resilience, leadership, epic journey, courage, determination, dramatic authority
- house: brilliant diagnostician energy, observation, skepticism, cynicism, analytical humor, brutal truth, questioning everything - house: brilliant diagnostician energy, observation, skepticism, cynicism, analytical humor, brutal truth, questioning everything, also use quotes from House MD
- blackadder: razor-sharp British wit, intellectual sarcasm, dry humor, cunning observation, impatience with incompetence, masterful insults, cynical but highly intelligent. Treat the world as a stage populated by well-meaning fools and occasional disasters. - blackadder: razor-sharp British wit, intellectual sarcasm, dry humor, cunning observation, impatience with incompetence, masterful insults, cynical but highly intelligent. Treat the world as a stage populated by well-meaning fools and occasional disasters. Use quotes from Blackadder TV show.
Choose: Choose personality that matches least to this trip and use it for teaser and description. Do not mention the characters directly.
- one primary personality, about 70%
- one secondary personality, about 30%
Blend them naturally. Do not mention the characters directly in the description.
First write exactly one quoted sentence in Danish.
The Danish sentence must match the chosen personality blend, but with Victor Borge-style elegance:
witty, warm, cultured, playful, gently satirical.
Then create a teaser in English. Then create a teaser in English.
The teaser must be 100-150 characters. The teaser must be max. 32 words..
It should make someone want to click and read more. It should make someone want to click and read more.
Do not simply summarize the trip. Do not simply summarize the trip.
Highlight the funniest, strangest, most beautiful, or most ridiculous aspect. Highlight the funniest, strangest, most beautiful, or most ridiculous aspect.
Then write one coherent English motorcycle/travel blog description. Then write one coherent English motorcycle/travel blog description, it must be max 256 words.
Then create 5 to 8 lowercase tags relevant to the trip. Then create 5 to 8 lowercase tags relevant to the trip.
Use short tags only, for example: motorcycle, roadtrip, weather, landscape, ferry, town, mountains. Use short tags only, for example: motorcycle, roadtrip, weather, landscape, ferry, town, mountains.
Rules: Rules:
- You are the main character. - You are the main character.
- Mention the overall experience, mood, road, weather, landscape, and travel feeling if visible. - You can mention the overall experience, mood, road, weather, landscape, and travel feeling if visible.
- Include playful roasting. - You can include roasting.
- Profanities are allowed, but keep them funny, not stupid. - Profanities are allowed, but keep them funny, not stupid.
- Make it less than 1024 characters.
- Output JSON only. - Output JSON only.
- Do not include markdown. - Do not include markdown.
- Do not explain anything. - Do not explain anything.
@ -156,12 +150,11 @@ Location: "$LOCATION"
JSON format: JSON format:
{ {
"primary_personality": "shoresy | marvin | churchill | house | blackadder", "personality": "shoresy | marvin | churchill | house | blackadder",
"secondary_personality": "shoresy | marvin | churchill | house | blackadder",
"quote_da": "Danish quoted sentence here", "quote_da": "Danish quoted sentence here",
"teaser": "English teaser here", "teaser": "English teaser here",
"description": "English travel blog description here", "description": "English travel blog description here",
"tags": ["motorcycle", "travel", "roadtrip"] "tags": ["motorcycle", "travel", "roadtrip", "pizza", "hockey", "funny"]
} }
EOF EOF
) )