Go to file
李如威 2c8e93dcde feat: pytest-asyncio 2025-11-24 15:57:33 +08:00
src feat: pytest-asyncio 2025-11-24 15:57:33 +08:00
.gitignore feat: 向量化数据 2025-11-24 14:10:34 +08:00
.python-version feat: 初始化项目 2025-11-05 15:22:40 +08:00
.sample-env feat: 处理环境变量 2025-11-24 14:51:24 +08:00
README.md feat: 向量化数据 2025-11-24 14:10:34 +08:00
requirements.txt feat: pytest-asyncio 2025-11-24 15:57:33 +08:00

README.md

目录结构

sample-ai/
│
├── requirements.txt
├── README.md
├── setup.py                # 可选,打包/安装用
│
├── src/
│   ├── sample_ai/
│   │   ├── __init__.py
│   │   ├── main.py         # 项目主入口(如有 CLI 或服务)
│   │   ├── nodes.py        # 流程节点相关
│   │   ├── vector_store.py # 向量数据库/知识库管理
│   │   ├── utils.py        # 工具函数(如 embedding、分块等
│   │   ├── config.py       # 配置管理(如环境变量、常量等)
│   │   └── data/
│   │       ├── __init__.py
│   │       └── ...         # 数据处理相关(如 chunk、预处理等
│   │
│   └── tests/
│       ├── __init__.py
│       ├── test_nodes.py
│       ├── test_vector_store.py
│       └── test_utils.py
│
├── scripts/
│   └── run_server.sh       # 启动脚本等
│
└── chroma_db/              # Chroma 本地数据库(自动生成,可忽略版本控制)