教程源码请访问:
https://gitee.com/hxstrive/tutorial_chromadb
教程目录结构如下图:
注意:
widget 包中存放初始化数据的 python 脚本。
common 包中存放 Python 工具脚本。
chatxx 包中存放对应章节的 Python 示例脚本。
images 目录存放教程中用到的图片。
.env 用来存放教程用到的环境变量,保存大模型的 API_KEY 信息。