mac环境基于llama3和metaGPT自动开发2048游戏

作者 : admin 本文共238个字,预计阅读时间需要1分钟 发布时间: 2024-06-9 共4人阅读

1.准备虚拟环境

conda create -n metagpt python=3.9 && conda activate metagpt

mac环境基于llama3和metaGPT自动开发2048游戏插图

2.安装metagpt

pip install –upgrade metagpt

mac环境基于llama3和metaGPT自动开发2048游戏插图(1)

3.初始化配置文件

metagpt –init-config

mac环境基于llama3和metaGPT自动开发2048游戏插图(2)

4. 安装llama3

mac环境基于llama3和metaGPT自动开发2048游戏插图(3)

5. 修改配置文件

mac环境基于llama3和metaGPT自动开发2048游戏插图(4)

6.让metegpt自动开发2048游戏

mac环境基于llama3和metaGPT自动开发2048游戏插图(5)

7.经过多轮迭代,最终生成了完整的代码

mac环境基于llama3和metaGPT自动开发2048游戏插图(6)

8. 使用VSCode查看代码

mac环境基于llama3和metaGPT自动开发2048游戏插图(7)

总结:不仅仅生成了代码,还提供了相应的文档和设计,遗憾的是最终代码并不能运行起来。

mac环境基于llama3和metaGPT自动开发2048游戏插图(8)

mac环境基于llama3和metaGPT自动开发2048游戏插图(9)

mac环境基于llama3和metaGPT自动开发2048游戏插图(10)

mac环境基于llama3和metaGPT自动开发2048游戏插图(11)

本站无任何商业行为
个人在线分享 » mac环境基于llama3和metaGPT自动开发2048游戏
E-->