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
8b340e12
Commit
8b340e12
authored
Jun 18, 2026
by
Kantz
Browse files
add more comments
parent
2789b332
Changes
7
Hide whitespace changes
Inline
Side-by-side
math-tutor/backend/app/LLM_services/open_hint_LLM.py
View file @
8b340e12
# structure of the tutor-prompt
from
app.deterministic_services
import
llm_client
...
...
math-tutor/backend/app/LLM_services/qa_LLM.py
View file @
8b340e12
# structure of the qa-prompt
from
app.deterministic_services
import
llm_client
QA_SYSTEM_PROMPT
=
"""
...
...
math-tutor/backend/app/LLM_services/socratic_LLM.py
View file @
8b340e12
# structure of the socratic-prompt
from
__future__
import
annotations
from
typing
import
Iterable
...
...
math-tutor/backend/app/LLM_services/solver_LLM.py
View file @
8b340e12
# structure of the solver-prompt as used in the tutor-mode.
from
app.deterministic_services
import
llm_client
...
...
math-tutor/backend/app/LLM_services/task_hint_LLM.py
View file @
8b340e12
# structure of the task-prompt.
from
__future__
import
annotations
from
app.deterministic_services
import
llm_client
...
...
math-tutor/backend/app/config.py
View file @
8b340e12
# This module provides functions to read and validate configuration settings from environment variables.
import
os
from
dataclasses
import
dataclass
from
pathlib
import
Path
...
...
math-tutor/backend/app/main.py
View file @
8b340e12
# This is the main entry point for the Math Tutor API application. It sets up the FastAPI app, configures middleware, and includes API routers.
from
contextlib
import
asynccontextmanager
import
logging
...
...
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