Rewrite app: strict Socratic questioning engine with FastAPI backend
Claude
Unverified signature
1e29076
- Remove standalone client-side index.html (violated spec)
- Use openai Python library with configurable base_url (no hardcoded provider)
- System prompts verbatim from spec: one question per response, never direct answers
- Stateless sessions: no localStorage, no cookies, no persistence
- No dashboard/usage statistics — only end-of-session analysis report
- RAG: ChromaDB + sentence-transformers, 3 chunks injected per turn
- 5-phase protocol: Ciblage/Clarification/Mecanisme/Verification/Stress-test
- Two modes: TUTOR (accompaniment) and CRITIC (devil's advocate)
- JSON export of full session (messages + scores + timestamps)
- Docker + docker-compose with volume-mounted /corpus
- README: dual config (OpenRouter test / Ollama production)
- No hardcoded references to any LLM provider in code
https://claude.ai/code/session_015z3yZxNNfXF63JuQDuPbEG
Build AIM Learning Companion - Socratic AI tutor for professional training
Claude
Unverified signature
87344df
Single-page web app with:
- FastAPI backend with RAG pipeline (ChromaDB + sentence-transformers)
- Ollama integration (mistral:instruct) for local LLM inference
- 5-phase Socratic protocol (Ciblage → Stress-test)
- TUTOR and CRITIC modes with French system prompts
- Vanilla HTML/CSS/JS frontend with phase indicator and session analysis
- Docker + docker-compose setup with volume-mounted /corpus
- End-of-session cognitive assessment with 6 scored dimensions
- JSON export, no external API calls, full privacy
https://claude.ai/code/session_015z3yZxNNfXF63JuQDuPbEG