Spaces:
Runtime error
Runtime error
Commit History
-
Implement dynamic entity detection for Pure LLM system
- Add detect_entity_type method to PureLLMHandler - Remove hardcoded 'sales_orders' default in transformation engine - Use LLM to analyze column patterns and detect appropriate entity type - Add comprehensive entity detection prompts with business context - Create test_entity_detection.py to validate functionality - Update documentation to reflect dynamic entity detection feature - Achieve 71.4% accuracy in entity detection tests - Maintain fallback to sales_orders only if all detection attempts fail26d0417
-
feat: Implement Pure LLM-based transformation system
New Features: - Pure LLM transformation engine with enhanced template context - Eliminates Jaccard similarity and heuristic fallbacks - 5 retry attempts with robust error handling - New API endpoints with llm_pure/ prefix API Endpoints Added: - POST /llm_pure/transform - JSON data transformation - POST /llm_pure/transform/file - File upload transformation - POST /llm_pure/transform/file/download - File download transformation - POST /llm_pure/analyze - Data analysis for Pure LLM LLM Configuration: - Model: meta-llama/llama-4-maverick-17b-128e-instruct - Temperature: 0.2 for consistent mapping - Enhanced context with template examples from template.json - Entity-specific guidance and business patterns Technical Implementation: - mapper/llm_handler_pure.py - Enhanced LLM handler - mapper/transformation_engine_pure.py - Simplified decision logic - Updated app.py with dual engine support - Comprehensive test suite and documentation Key Benefits: - No breaking changes - all existing…4293da0