Spaces:
Runtime error
Runtime error
Commit History
-
Add TWCC oneAI as primary LLM backend, HF as fallbackβ
- Support TWCC oneAI via OpenAI-compatible API (set TWCC_API_URL and TWCC_API_KEY secrets) - Fall back to HF Inference API when TWCC credentials not set - Auto-detect backend and display in sidebar - Add openai package to requirements Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>38b06b9 -
Add MOENV laws RAG system with scraper and vector storeβ
- scraper.py: crawl all 1339 regulations from MOENV website (46 categories) - build_vectorstore.py: build FAISS index with sentence-transformers embeddings - app.py: Gradio RAG app with smart Q&A and law search tabs - vectorstore/: pre-built FAISS index (13233 vectors) and text chunks - requirements.txt: faiss-cpu, sentence-transformers, numpy Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>fac2d14
-
initial commit
Verified signature9371d74 -
Duplicate from gradio-templates/chatbotβ
Co-authored-by: Pete <pngwn@users.noreply.huggingface.co>f8e45de