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
c2af99d6
Commit
c2af99d6
authored
May 21, 2026
by
Kantz
Browse files
\[\] durch 1915871 ersetzt in prompts und größe für bilder 10x
parent
a27a4ff5
Changes
4
Hide whitespace changes
Inline
Side-by-side
math-tutor/backend/app/LLM_services/qa_LLM.py
View file @
c2af99d6
...
...
@@ -11,6 +11,7 @@ minf steht für minus unendlich.
verwende die $ für mathematische Formeln, z.B. $a^2 + b^2 = c^2$
für mehrzeilige formeln verwende die $$, z.B. $$\int_a^b f(x) dx$$ anstatt \[ \].
Liefer wenn möglich ein Zahlenbeispiel mit.
...
...
@@ -40,4 +41,4 @@ def answer_question(
result
=
llm_client
.
chat
(
messages
=
[{
"role"
:
"system"
,
"content"
:
QA_SYSTEM_PROMPT
},
{
"role"
:
"user"
,
"content"
:
prompt
}],
)
return
llm_client
.
get_message_content
(
result
)
\ No newline at end of file
return
llm_client
.
get_message_content
(
result
)
math-tutor/backend/app/LLM_services/socratic_LLM.py
View file @
c2af99d6
...
...
@@ -20,6 +20,7 @@ Wenn der Studeten das Thema verstanden hat gehen weiter zum nächsten Thema.
Wenn der Student alle Themen verstanden hat sag im das.
Verwende für mathematische Formeln immer die $-Notation, z.B. $a^2 + b^2 = c^2$.
für mehrzeilige formeln verwende die $$, z.B. $$\int_a^b f(x) dx$$ anstatt \[ \].
minf steht für minus unendlich.
"""
...
...
math-tutor/backend/app/LLM_services/task_hint_LLM.py
View file @
c2af99d6
...
...
@@ -15,6 +15,7 @@ Die Reihenfolge in mathematischen Ausdrücken ist irrelevant wenn sie äquivalen
Zitiere 1 zu 1 aus der AKTUELLE Eingabe des Nutzers wenn du auf Fehler aufmerksam machst.
verwende die $ für mathematische Formeln, z.B. $a^2 + b^2 = c^2$
für mehrzeilige formeln verwende die $$, z.B. $$\int_a^b f(x) dx$$ anstatt \[ \].
minf steht für minus unendlich.
Halte dich kurz und präzise.
...
...
math-tutor/frontend/nginx.conf
View file @
c2af99d6
...
...
@@ -2,6 +2,8 @@ server {
listen
3000
;
server_name
_
;
client_max_body_size
10M
;
root
/usr/share/nginx/html
;
index
index.html
;
...
...
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