Spaces:
Runtime error
Runtime error
Commit History
-
Add LLM-based task planning and parallel execution
Ralitza MondalImprovements from feedback: - Enhanced LLM routing with reasoning - Parallel agent execution (47-61% faster) - Task decomposition for complex queries - Backward compatible See IMPROVEMENTS.md for documentation1a94293 -
Fix app.py for Hugging Face Spaces deployment
Ralitza Mondal- Change default host from 127.0.0.1 to 0.0.0.0 for HF compatibility - Remove show_error parameter from launch() for better HF integration - App will now bind to all interfaces allowing HF to proxy correctly90c11ad -
Fix requirements.txt for Hugging Face compatibility
Ralitza Mondal- Remove strict version pins that conflict with HF pre-installed packages - Use >= version constraints for better compatibility - Remove gradio version (already provided by HF) - Keep langsmith for evaluation system5fa9025 -
Add guardrails and evaluation system
Ralitza Mondal- Add comprehensive guardrails system with input/output validation - Implement rate limiting and content safety checks - Update guardrails to allow educational questions about specific stocks - Add LangSmith-based evaluation framework with 6 custom evaluators - Create 14 test cases covering all agent types - Add complete documentation for guardrails and evaluation systems - Integrate guardrails into main app.py process_query flow - Update requirements.txt with langsmith dependency - Update README.md with guardrails and evaluation sectionse93361e
-
Fix Hugging Face Spaces compatibility
Ralitza Mondal- Detect HF environment using SPACE_ID env variable - Use proper host (0.0.0.0) and port (7860) for HF Spaces - Fallback to argparse for local development - Fixes 'Starting' hang issue on HF interface66f1440 -
Skip knowledge base auto-generation for instant startup
Ralitza Mondal- App now starts immediately without waiting for FAISS generation - Knowledge base is optional - app works with web search fallback - Users can manually run create_finance_knowledge_base.py later - Reduces HF Space startup from 2+ minutes to ~10 seconds - Updated README with setup instructionsb6bdd50 -
Auto-generate knowledge base on first startup
Ralitza Mondal- Detect if FAISS index is missing on startup - Automatically run create_finance_knowledge_base.py if needed - One-time setup takes 1-2 minutes on first launch - Subsequent launches are instant - Gracefully handles creation failures - No need to commit binary files to git0ab532d -
Fix requirements.txt for Hugging Face compatibility
Ralitza Mondal- Use more flexible version constraints - Remove overly specific version pins that may conflict - Allow pip to resolve compatible versions - Tested on HF Spaces Python environment06d5c88
-
Add Finance Coach multi-agent system
Ralitza Mondal- 5 specialized finance agents (Q&A, Portfolio, Market, Goals, Tax) - Gradio web interface - API integrations (market data, news, web scraping) - Multi-agent routing and orchestration - Knowledge base creation script (run create_finance_knowledge_base.py to build FAISS index)6d2558a -
initial commit
Verified signaturebb1a865