AI-Powered All-In-One Solid-State Compact Milli-Electrode Arrays (MEA) for Real-Time In Situ Nitrogen Monitoring