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
52b14c87
Commit
52b14c87
authored
May 06, 2026
by
Kantz
Browse files
namen in sources geändert
parent
c8247d38
Changes
3
Hide whitespace changes
Inline
Side-by-side
math-tutor/README.md
View file @
52b14c87
...
...
@@ -174,7 +174,7 @@ Ingest markdown docs (expects `markdown/sections`, `markdown/subsections`, `mark
```
powershell
cd
math-tutor/backend
.
\.venv\Scripts\Activate.ps1
python
-m
scripts.retrieval_cli
ingest
--base
sources/script
--clear
python
-m
scripts.retrieval_cli
ingest
--base
sources/
lecture_
script
--clear
```
Query via CLI:
...
...
math-tutor/backend/app/deterministic_services/socratic_bootstrap_prompts.py
View file @
52b14c87
...
...
@@ -9,7 +9,7 @@ import yaml
from
app.deterministic_services
import
task_catalog
PROMPTS_PATH
=
Path
(
__file__
).
resolve
().
parents
[
2
]
/
"sources"
/
"socratic_
chats
"
/
"initial_prompts.yml"
PROMPTS_PATH
=
Path
(
__file__
).
resolve
().
parents
[
2
]
/
"sources"
/
"
inital_
socratic_
prompt
"
/
"initial_prompts.yml"
@
lru_cache
(
maxsize
=
1
)
...
...
math-tutor/backend/scripts/generate_socratic_chats.py
View file @
52b14c87
...
...
@@ -15,8 +15,8 @@ from app.deterministic_services.vector_store import parse_markdown_with_frontmat
BACKEND_ROOT
=
Path
(
__file__
).
resolve
().
parents
[
2
]
DEFAULT_SOURCE_ROOT
=
BACKEND_ROOT
/
"sources"
/
"with_chapters"
DEFAULT_OUTPUT
=
BACKEND_ROOT
/
"sources"
/
"socratic_
chats
"
/
"initial_prompts.yml"
DEFAULT_TEMPLATE
=
BACKEND_ROOT
/
"sources"
/
"socratic_
chats
"
/
"template.yml"
DEFAULT_OUTPUT
=
BACKEND_ROOT
/
"sources"
/
"
inital_
socratic_
prompt
"
/
"initial_prompts.yml"
DEFAULT_TEMPLATE
=
BACKEND_ROOT
/
"sources"
/
"
inital_
socratic_
prompt
"
/
"template.yml"
DEFAULT_PROMPT
=
(
"Was sind die Themen dieses Abschnitts? Numeriere sie durch. Frage mich, mit welchem ich mich "
"zuerst beschäftigen möchte."
...
...
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