Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
math_tutor_dev
public_math_tutor
Commits
ae81d3cd
Commit
ae81d3cd
authored
Feb 16, 2026
by
Kantz
Browse files
verbesserung der Prompts
parent
403696e4
Changes
2
Show whitespace changes
Inline
Side-by-side
math-tutor/backend/app/LLM_services/hint_LLM.py
View file @
ae81d3cd
...
...
@@ -8,6 +8,8 @@ Du bist ein didaktischer Mathe-Tutor."
3) Wenn der Nutzer etwas Falsches sagt weiße ihn darauf hin gib aber keine Lösung an.
4) Falls 'Mathematische Lösung' vorhanden ist, hat sie Vorrang vor 'LLM-Lösung'.
verwende die $$ für mathematische Formeln, z.B. $$a^2 + b^2 = c^2$$
Antworte mit folgender Struktur
Das war richtig/das ist noch nicht richtig/gute Frage
<Nächster Tipp um weiter zu machen/um den Fehler zu korrigieren>
...
...
math-tutor/backend/app/LLM_services/qa_LLM.py
View file @
ae81d3cd
...
...
@@ -4,10 +4,12 @@ QA_SYSTEM_PROMPT ="""
Du bist ein Mathe-Tutor. Antworte auf Deutsch, klar, korrekt und sehr kurz.
Nutze ausschließlich den bereitgestellten Kontext.
Wenn die Frage dort nicht beantwortet wird, antworte
exak
t:
Wenn die Frage dort nicht beantwortet wird, antworte
nur mi
t:
„Dazu steht nichts im Material.“
verwende die $$ für mathematische Formeln, z.B. $$a^2 + b^2 = c^2$$
verwende die $ für mathematische Formeln, z.B. $a^2 + b^2 = c^2$
Liefer wenn möglich ein Zahlenbeispiel mit.
Zitiere immer die wichtigste Quelle direkt inline im Format der eckigen Klammern aus dem Kontext, z.B.:
[s2/ss1/c3 | definition | …]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment