[project] name = "knowledge-agent" version = "0.1.0" description = "基于知识图谱的物业 Agent 问答系统(Neo4j + DeepSeek)" requires-python = ">=3.11" dependencies = [ "neo4j>=5.20", "pandas>=2.2", "openpyxl>=3.1", "xlrd>=2.0", "python-dotenv>=1.0", "pydantic>=2.7", "python-docx>=1.1", "pypdf>=4.0", "matplotlib>=3.8", "networkx>=3.3", "openai<3", "langgraph>=1.2.11", "redis>=5.2.1", "langchain-openai>=1.4.3", "sentence-transformers>=5.7.0", "pycryptodome>=3.23.0", "fastapi>=0.141.1", "uvicorn[standard]>=0.52.2", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src/step0_pre_prepare", "src/step1_data_aggregation", "src/step2_graph_building", "src/step3_qa_agent", "src/step4_web"] [tool.uv] package = true # 使用清华 PyPI 镜像加速依赖下载;可用环境变量 UV_INDEX_URL 覆盖 index-url = "https://pypi.tuna.tsinghua.edu.cn/simple"