AI Document Assistant Javascript-cpp