AI metadata engine