pyproject.toml 832 B

1234567891011121314151617181920212223242526272829303132333435
  1. [project]
  2. name = "agent"
  3. version = "0.1.0"
  4. description = "ai-tagging"
  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. "dbutils>=3.1.2",
  15. "pymysql>=1.1.2",
  16. "elasticsearch==8.9.0",
  17. "numpy>=2.2.6",
  18. "asyncer>=0.0.17",
  19. "pdm>=2.26.6",
  20. ]
  21. requires-python = ">=3.10"
  22. readme = "README.md"
  23. license = {text = "MIT"}
  24. [tool.pdm]
  25. build.package-dir = "src"
  26. distribution = true
  27. [tool.pdm.scripts]
  28. start = "uvicorn agent.main:app --host 0.0.0.0 --port 9876"
  29. start-bg = { shell = "nohup pdm run start > uvicorn.log 2>&1 & echo 'Started in background'; echo \"Logs in uvicorn.log\"" }
  30. [build-system]
  31. requires = ["pdm-backend"]
  32. build-backend = "pdm.backend"