Advanced document processing, vector search, and AI-enhanced features for building intelligent applications