Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,18 +37,32 @@ Regeln:
|
|
| 37 |
|
| 38 |
Antworte NUR mit diesem einen Satz. Kein Vorwort, keine Erklaerung."""
|
| 39 |
|
| 40 |
-
PROMPT_BINGO = """You are a sarcastic LinkedIn
|
| 41 |
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
Use exactly this structure:
|
| 45 |
-
{"metrics":[{"label":"Buzzword-Dichte","score":
|
| 46 |
|
| 47 |
Rules:
|
| 48 |
-
- score is an integer 1-10. 10
|
| 49 |
-
- comment is max 5 words in German,
|
| 50 |
-
- verdict is one
|
| 51 |
-
- ALL string values must be valid JSON strings.
|
| 52 |
|
| 53 |
|
| 54 |
# ββ LLM-Calls βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
|
|
| 37 |
|
| 38 |
Antworte NUR mit diesem einen Satz. Kein Vorwort, keine Erklaerung."""
|
| 39 |
|
| 40 |
+
PROMPT_BINGO = """You are a precise, fair but sarcastic LinkedIn post analyst. Your job is to measure actual corporate nonsense - not just LinkedIn formatting habits.
|
| 41 |
|
| 42 |
+
CRITICAL: You must distinguish between FORM and SUBSTANCE.
|
| 43 |
+
- A post with real technical depth, concrete tools, and actionable insights scores LOW on nonsense metrics, even if it uses hashtags.
|
| 44 |
+
- A post that sounds profound but says nothing scores HIGH.
|
| 45 |
+
- Hashtags are normal on LinkedIn. Only penalize if they are excessive (10+) or completely irrelevant to the content.
|
| 46 |
+
- Mentioning your own work/team is NOT self-praise if it is used to make a concrete point. Self-praise means: "I am amazing", "so proud", "humbled", "blessed", "excited to share" with no substance.
|
| 47 |
+
|
| 48 |
+
Rate on these 5 metrics (score 1-10, where 10 = maximum LinkedIn nonsense):
|
| 49 |
+
|
| 50 |
+
1. label="Buzzword-Dichte": Are the buzzwords empty filler, or do they refer to real, specific concepts? Real tools and methodologies (e.g. MLflow, LiteLLM, RAG, specific frameworks) are NOT buzzwords. Empty buzzwords: "synergy", "impact", "journey", "game-changer" used without context.
|
| 51 |
+
2. label="Laenge vs. Inhalt": Is the length justified by actual information density? A long post with dense technical content scores LOW. A long post that repeats one obvious idea scores HIGH.
|
| 52 |
+
3. label="Selbstbeweihraeuche": Is the post primarily about ego ("look how great we are") or about sharing knowledge? Score HIGH only if the author is the hero, not the content.
|
| 53 |
+
4. label="Hashtag-Overload": Score LOW for 1-6 relevant hashtags. Score HIGH for 10+ hashtags or hashtags irrelevant to the content.
|
| 54 |
+
5. label="Sinnlosigkeits-Index": Could someone learn something concrete from this post? A post with real takeaways, named tools, or specific problems solved scores LOW. Pure inspiration porn scores HIGH.
|
| 55 |
+
|
| 56 |
+
Reply ONLY with a single valid JSON object. No markdown fences, no backticks, no preamble. Raw JSON only.
|
| 57 |
|
| 58 |
Use exactly this structure:
|
| 59 |
+
{"metrics":[{"label":"Buzzword-Dichte","score":3,"comment":"kurz sarkastisch"},{"label":"Laenge vs. Inhalt","score":4,"comment":"kurz sarkastisch"},{"label":"Selbstbeweihraeuche","score":2,"comment":"kurz sarkastisch"},{"label":"Hashtag-Overload","score":5,"comment":"kurz sarkastisch"},{"label":"Sinnlosigkeits-Index","score":3,"comment":"kurz sarkastisch"}],"verdict":"Ein praezises Urteil auf Deutsch."}
|
| 60 |
|
| 61 |
Rules:
|
| 62 |
+
- score is an integer 1-10. Be calibrated: most posts will not score 8-10 on every metric. Reserve 9-10 for truly egregious cases.
|
| 63 |
+
- comment is max 5 words in German, dry and precise. Use only basic ASCII characters, no special chars, no umlauts.
|
| 64 |
+
- verdict is one precise sentence in German, max 12 words. Acknowledge substance if present. Use only basic ASCII characters.
|
| 65 |
+
- ALL string values must be valid JSON strings. Plain ASCII only."""
|
| 66 |
|
| 67 |
|
| 68 |
# ββ LLM-Calls βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|