pyproject.toml 822 B

123456789101112131415161718192021222324252627282930313233
  1. [project]
  2. name = "agent"
  3. version = "0.1.0"
  4. description = "Default template for PDM package"
  5. authors = [
  6. {name = "jiayongqiang", email = "15936285643@163.com"},
  7. ]
  8. dependencies = [
  9. "fastapi>=0.128.0",
  10. "uvicorn>=0.40.0",
  11. "requests>=2.32.5",
  12. "langchain>=1.2.9",
  13. "langchain-openai>=1.1.7",
  14. "elasticsearch==8.9.0",
  15. "numpy>=2.2.6",
  16. "asyncer>=0.0.17",
  17. "psycopg2-binary>=2.9.11",
  18. ]
  19. requires-python = ">=3.10"
  20. readme = "README.md"
  21. license = {text = "MIT"}
  22. [tool.pdm]
  23. build.package-dir = "src"
  24. distribution = true
  25. [tool.pdm.scripts]
  26. start = "uvicorn agent.main:app --host 0.0.0.0 --port 9876"
  27. start-bg = { shell = "nohup pdm run start > uvicorn.log 2>&1 & echo 'Started in background'; echo \"Logs in uvicorn.log\"" }
  28. [build-system]
  29. requires = ["pdm-backend"]
  30. build-backend = "pdm.backend"