artificial intelligence code structure 325148