pyproject.toml 745 B

123456789101112131415161718192021222324252627282930
  1. [build-system]
  2. requires = ["setuptools>=75"]
  3. build-backend = "setuptools.build_meta"
  4. [project]
  5. name = "agentic-rag-course-project"
  6. version = "1.0.0"
  7. description = "电商售后 Agentic RAG 实战:LangGraph + Milvus + SQLite + Web Search"
  8. requires-python = ">=3.11,<3.13"
  9. dependencies = [
  10. "fastapi==0.139.0",
  11. "langgraph==1.2.9",
  12. "pydantic-settings==2.14.2",
  13. "pymilvus==2.6.16",
  14. "uvicorn[standard]==0.51.0",
  15. ]
  16. [project.optional-dependencies]
  17. deepseek = ["langchain-openai>=1.0,<2"]
  18. web = ["tavily-python>=0.7,<1"]
  19. embeddings = ["sentence-transformers>=5.0,<6"]
  20. test = ["httpx==0.28.1", "pytest==9.1.1"]
  21. [tool.setuptools.packages.find]
  22. where = ["."]
  23. include = ["app*"]
  24. [tool.pytest.ini_options]
  25. testpaths = ["tests"]
  26. addopts = "-q"