Spaces:
Sleeping
Sleeping
| title: Hanbridge Clare Assistant (Product UI) | |
| emoji: π¬ | |
| colorFrom: yellow | |
| colorTo: purple | |
| sdk: docker | |
| pinned: false | |
| license: mit | |
| # Hanbridge Clare Assistant β Product Version | |
| This Space hosts **Clare**, an AI-powered personalized learning assistant for Hanbridge University. | |
| ## Architecture Overview | |
| - **Frontend**: React + Vite (exported from Figma design) | |
| - **Backend**: FastAPI (Python) | |
| - **LLM Orchestration**: OpenAI + LangChain | |
| - **Observability**: LangSmith | |
| - **Deployment**: Hugging Face Docker Space | |
| ### Optional: Text-to-Speech & Podcast | |
| - **TTS**: Uses the same **OpenAI API key** (no extra secrets). Convert export/summary text to speech. | |
| - **Podcast**: Generates an MP3 from the session summary or full conversation. | |
| - **Hugging Face**: Set `OPENAI_API_KEY` in the Space **Settings β Secrets**. No extra env vars needed. | |
| ``` | |
| π¦ project/ | |
| βββ app.py | |
| βββ api/ | |
| β βββ server.py | |
| β βββ clare_core.py | |
| β βββ rag_engine.py β RAG | |
| β βββ tts_podcast.py β TTS & podcast (OpenAI TTS) | |
| βββ requirements.txt | |
| ``` | |