OpenAI 的 ChatGPT4 服务支持跑它自己生成的 Python 代码,很酷。我们来问问他跑在什么环境,为什么这样的环境可以保证所执行的程序不会损害到 ChatGPT 自身系统。
Python 环境
chatGPT 的 python 环境是 Jupyter Notebook (Project Jupyter | Home),相信如果你常用 Python ,一定对它很熟悉!

运行环境
chatGPT 执行了我告诉他的命令,还帮我分析了一下。根据它提供的信息,我们可以看出 Python 程序应该是跑在一个 Azure 的虚拟机里,虚拟机的内核是 Linux Kernel 4.4.0,python 程序跑在这个虚拟机里的一个基于 gVisor (google/gvisor: Application Kernel for Containers (github.com)) 的安全容器中。

