forked from admin/PlantAI-rag-new
- vstore 独立安装包(8094):解析/嵌入/加密 vault/faiss 检索,存储路径支持本地 file 与 http(s):// URL,启动握手校验,集群化预留(embed 独立模块) - BFF docgen 路由:上传入库/generate/编辑/导出/下载/主库管理,意图护栏(与前端同词典),vstore 失败兜底,quota 507 与 TTL 惰性清理 - 前端:自然触发意图路由、拖拽上传 chips、能力徽标、右侧文档 TAB(WYSIWYG 编辑/prompt 修改/PDF+DOCX 导出下载)、右栏拖宽+手柄仿左栏 - 批量导入工具 docgen_import.py(并发 8、导入即加密+删源明文) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
33 lines
730 B
TOML
33 lines
730 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "plantai-vstore"
|
|
version = "0.1.0"
|
|
description = "PlantAI-rag-new vstore:文档加密主库 + 嵌入检索独立服务(8094)"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.110",
|
|
"uvicorn[standard]>=0.29",
|
|
"httpx>=0.27",
|
|
"cryptography>=42",
|
|
"faiss-cpu>=1.8",
|
|
"numpy>=1.26",
|
|
"python-docx>=1.1",
|
|
"pymupdf>=1.24",
|
|
"PyYAML>=6.0",
|
|
"python-multipart>=0.0.9",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8.0"]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["vstore*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["vstore/tests"]
|
|
python_files = ["test_*.py"]
|
|
asyncio_mode = "auto"
|