-`topic_key` must match an existing socratic topic from the task catalog.
-The links use normalized topic keys in the URL, and the app resolves them back to the catalog key.
-The fallback `/select-socratic`page only shows the topic dropdown and start button.
-If the link is invalid, the frontend falls back to`/select-socratic`.
-The socratic dialog is not locked by deep link, so users can still switch topics afterwards.
-`topic_key` muss mit einem vorhandenen Sokratischen Thema aus dem Aufgabenkatalog übereinstimmen.
-Die Links verwenden normalisierte Themen-Schlüssel in der URL, und die App löst diese wieder in den Katalog-Schlüssel auf.
-Die Fallback-Seite`/select-socratic`zeigt nur das Themen-Dropdown-Menü und die Start-Schaltfläche an.
-Wenn der Link ungültig ist, weicht das Frontend auf`/select-socratic` aus.
-Der Sokratische Dialog ist nicht durch einen Deep Link gesperrt, sodass Benutzer das Thema auch nachträglich noch wechseln können.
To make it accessible over the network.
Add the frontend- and backend-adress in the`backend/.env`-file in the frontend- and backend-folder. Use the following command to run the front- and backend.
Um den Zugriff über das Netzwerk zu ermöglichen.
Füge die Frontend- und Backend-Adressen in die Datei`backend/.env` im Frontend- und Backend-Ordner ein. Verwende den folgenden Befehl, um das Frontend und Backend auszuführen.
- Edit `math-tutor/backend/app/api/chat.py` and update `SYSTEM_PROMPT`.
Retrieval settings:
- Frontend request parameters live in `math-tutor/frontend/src/pages/App.tsx`:
- Frontend-Anfrageparameter befinden sich in `math-tutor/frontend/src/pages/App.tsx`:
-`k`
-`expand_links`
-`neighbor_expand`
- Backend defaults are in `math-tutor/backend/app/api/retrieval.py` (`QueryRequest`).
-Core retrieval logic is in `math-tutor/backend/app/services/vector_store.py` (`retrieve`).
-Die Backend-Standardeinstellungen sind enthalten `math-tutor/backend/app/api/retrieval.py` (`QueryRequest`).
-Die Kernlogik für das Abrufen ist vorhanden `math-tutor/backend/app/services/vector_store.py` (`retrieve`).
## Testing
currently there a multiple test to test some components seperatly. Check the test files for specific calling. Here are some example calls.
Derzeit gibt es mehrere Tests, um bestimmte Komponenten separat zu prüfen. Die genauen Aufrufe finden Sie in den Testdateien. Hier sind einige Beispielaufrufe.