Using AI in archives management