{"message":"HR Assistant API with Pure Generalized System","version":"7.0.0-pure-generalized","architecture":"Semantic Supervisor + Generalized Hybrid RAG","approach":"Zero hardcoded patterns - pure semantic understanding","features":["Pure semantic intent classification (no regex patterns)","Generalized policy retrieval across ALL content types","Supervisor-based workflow management","Hybrid BM25 + embedding search for any topic","Sticky session handling for complex workflows","Context-aware conversation memory","Real-time policy updates via admin interface","Agent specialization with semantic routing","LLM-powered conversational intelligence (no hardcoded acknowledgments)"],"intent_system":{"type":"pure_semantic_llm_classification","no_hardcoded_patterns":true,"handles_any_policy_type":true,"supervisor_manages_workflow":true,"sticky_session_support":true,"conversational_intelligence":"llm_based"},"retrieval_system":{"type":"generalized_hybrid_bm25_embeddings","storage":"PostgreSQL with pgvector","bm25_weight":0.4,"embedding_weight":0.6,"chunking":"contextual_with_metadata","works_for_any_content":true,"embedding_model":"all-MiniLM-L6-v2","fusion_method":"reciprocal_rank_fusion"},"agents":{"supervisor":"Pure semantic intent classification and conversational handling","policy_agent":"Generalized policy retrieval for ANY topic","leave_agent":"Leave balance management with choice-based fallback","manager_agent":"Manager information queries with context","human_agent":"Complex issue escalation with ticket generation"},"philosophy":{"zero_hardcoded_patterns":"No regex, no keyword lists, no hardcoded categories","pure_semantic_understanding":"LLM-based intent classification","generalized_retrieval":"One retrieval system handles all policy types","supervisor_orchestration":"Supervisor manages all workflow logic","content_agnostic":"System works regardless of policy content","conversational_ai":"Natural conversation handling via LLM"},"endpoints":{"chat":"/chat","health":"/health","user_history":"/user/{user_id}/history","clear_history":"/user/{user_id}/history (DELETE)","admin_upload":"/admin/upload-policy","admin_status":"/admin/policies-status","admin_list":"/admin/list-policies","admin_search_test":"/admin/search-test","admin_refresh":"/admin/refresh-policies","docs":"/docs"}}