| 123456789101112131415161718192021222324252627282930313233 |
- [project]
- name = "agent"
- version = "0.1.0"
- description = "Default template for PDM package"
- authors = [
- {name = "jiayongqiang", email = "15936285643@163.com"},
- ]
- dependencies = [
- "fastapi>=0.128.0",
- "uvicorn>=0.40.0",
- "requests>=2.32.5",
- "langchain>=1.2.9",
- "langchain-openai>=1.1.7",
- "elasticsearch==8.9.0",
- "numpy>=2.2.6",
- "asyncer>=0.0.17",
- "psycopg2-binary>=2.9.11",
- ]
- requires-python = ">=3.10"
- readme = "README.md"
- license = {text = "MIT"}
- [tool.pdm]
- build.package-dir = "src"
- distribution = true
- [tool.pdm.scripts]
- start = "uvicorn agent.main:app --host 0.0.0.0 --port 9876"
- start-bg = { shell = "nohup pdm run start > uvicorn.log 2>&1 & echo 'Started in background'; echo \"Logs in uvicorn.log\"" }
- [build-system]
- requires = ["pdm-backend"]
- build-backend = "pdm.backend"
|