Spaces:
Sleeping
Sleeping
Commit History
-
fix: add build dependencies for blis compilation on Hugging Face Spaces
findEthics68686ca -
feat: add comprehensive search optimization and ChromaDB caching system
findEthics- Implement AI-powered search decision engine with context-aware optimization - Add ChromaDB vector database for semantic similarity caching - Integrate spaCy NLP and RAKE for intelligent search term extraction - Create cache-first flow for new conversations and smart decisions for follow-ups - Add comprehensive search analytics and cache management endpoints - Update documentation with new search optimization and caching features - Include new test suites for functionality validation and performance benchmarking - Add cache directories to .gitignore to prevent large file issues4b28fb0
-
Restore app.py and analytics folder to commit 439ebb4
findEthics838cd23
-
Add docker file bacl
findEthics261c874 -
Complete codebase cleanup and project structure validation
findEthics- Reorganized project structure to meet requirements (9 root items, target <10) - Consolidated all tests into organized tests/ directory with unit/, integration/, performance/, utilities/ subdirectories - Moved all documentation to docs/ with topic-based organization (api/, analytics/, deployment/, reference/, setup/) - Organized utility scripts in scripts/ directory by purpose (deployment/, maintenance/, utilities/) - Archived historical files and backups in archive/ directory - Created comprehensive project structure validation tool - Maintained full Hugging Face Spaces compatibility - Documented all changes and final project structure - Verified compliance with requirements 1.1, 1.2, and 1.3 Task 8.3 completed: Final project structure validation with comprehensive documentationf0b765c
-
fix: add required Hugging Face Spaces metadata to README
findEthics- Add YAML frontmatter with title, emoji, colors, and SDK configuration - Specify Docker SDK for Hugging Face Spaces deployment - Set app_file to app.py as the main application entry point - Use blue to purple gradient for the space appearance3f0e018 -
feat: implement anonymous mode functionality with comprehensive tests
findEthics- Add anonymous mode support allowing requests without user_id - Implement comprehensive test suite for anonymous functionality - Add analytics counting for anonymous vs authenticated usage - Verify database operations handle null user_id values correctly - Test dashboard displays anonymous metrics properly - Move documentation to docs/ folder for better organization - Add API examples for anonymous chat requests - Clean up temporary test files and demos from root directory Requirements implemented: - 1.1: Anonymous requests processed with full functionality - 1.2: System treats null/empty user_id as anonymous - 3.1: Anonymous requests handled efficiently - 3.3: Anonymous usage aggregated without individual tracking439ebb4 -
feat: Add comprehensive database migration system for user authentication
findEthics- Add main migration script (migrate_user_authentication.py) with backup, validation, and rollback - Add comprehensive validation script (validate_user_migration.py) with 6 test categories - Add dedicated rollback script (rollback_user_authentication.py) with safety checks - Add detailed migration documentation (MIGRATION_README.md) - Add user_id index management script (create_user_indexes.py) - Update analytics models with user_id validation and support - Add comprehensive test suite for user authentication features - Add API integration guide for frontend developers - Maintain full backward compatibility for anonymous users - Include migration history tracking and performance monitoring All scripts tested and working with 100% validation success rate.04aa1ba
-
📊 Add comprehensive analytics endpoints documentation
findEthics- Added detailed documentation for all analytics endpoints - Included exact URLs for deployed Atlas app (findethics-atlas.hf.space) - Added API usage examples with cURL and JavaScript - Documented dashboard features and data export capabilities - Added parameter descriptions and response format examples9813232 -
Adding analytics capabilities
findEthics1d4dc07
-
Add analytics documentation and implementation plan
findEthics- Add analytics-approach.md: technical approach and database design - Add analytics-tasks.md: phased implementation roadmap with tasks - Planning for MongoDB-based session and message analytics - 4-phase implementation plan for learning project9ebdf42 -
Add interactive terminal client and improve search functionality
findEthics- Add local_app.py: minimal interactive chat client for Atlas API - Enable search by default in ChatRequest model - Add dotenv support for environment variable loading - Add enhanced logging for search operationse3a1eb8
-
Switch from FLAN-T5 to Google Gemini API for improved performance
findEthics +1: Claude- Replace local FLAN-T5 model with Gemini 1.5 Flash API - Remove torch, transformers, and model management complexity - Simplify architecture with direct API calls instead of local inference - Add proper error handling for API key configuration - Update response format to include search results in output - Reduce memory footprint and startup time significantly - Maintain search integration with enhanced prompt templating 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>f5d3b25
-
Fix DuckDuckGo timeout issues for Hugging Face deployment
findEthics +1: Claude- Add async timeout wrapper (8s) for DuckDuckGo search operations - Implement retry logic with exponential backoff for failed requests - Add overall timeout protection (12s) for combined search operations - Graceful degradation when search engines fail or timeout - Improve logging for search engine performance monitoring - Optimize search distribution (6 Brave + 4 DDG results) Resolves timeout errors in hosted environments while maintaining local functionality. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>ea56470 -
Implement single-model FLAN-T5 architecture with async optimizations
findEthics +1: Claude- Replace 3-model architecture with unified FLAN-T5-small model - Add async HTTP client (httpx) for non-blocking search operations - Implement parallel search execution with Brave API + DuckDuckGo - Add intelligent task detection for QA vs summarization - Improve response structure with better length handling - Fix Brave API integration with environment variable fallback - Add comprehensive debug logging for search operations - Optimize model pre-loading at startup for faster responses 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>e3dd1d2
-
Clean up commented API key line
findEthics +1: ClaudeRemoved commented hardcoded API key reference for cleaner code. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>dca2bc9 -
Remove hardcoded Brave API key from source code
findEthics +1: ClaudeCommented out hardcoded API key fallback to enforce proper environment variable usage for security. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>41b6a61 -
Remove search results from chat response output
findEthics +1: ClaudeSearch results are still used as context for model inference but no longer included in the API response to keep output clean. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>1cb44b5 -
Add thread-safe model manager and combined search engines
findEthics +1: Claude- Implemented ModelManager class with thread-safe lazy loading of ML models - Added Brave Search API integration alongside DuckDuckGo search - Enhanced CORS configuration with restricted origins for security - Converted synchronous model inference to async with thread pool execution - Improved error handling and expanded search result context - Updated API version to 3.0.0 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>69fcd44
-
Remove text preprocessing for summarisation model
findEthics9245669 -
Rearrange model load time
findEthicsb68f8b2 -
Use spacy for summarizer preprocessing
findEthics00fd6a4
-
Spacy 2
findEthicsc50b7d8 -
NER to Spacy switch
findEthics072cb3b -
move nltk package download
findEthics77068ee -
Spacy for getting search terms
findEthics2d4c5b0 -
Additional Logging
findEthics2f04507 -
define root
findEthics96e9099
-
Logging
findEthics0b47534 -
Add Query Classification
findEthicsc4b1964 -
Update NER load fucntion
findEthicsb4e0ec0 -
Search_context correction
findEthicsd13810a
-
Reset to NER
findEthics047e92f -
Reset
findEthics53fbec4 -
Add NER - log
findEthicse68effc -
Add NER
findEthicsef7dffa -
Initial commit
findEthics7d886a8 -
initial commit
Verified signature4b34d35