| 1234567891011121314151617181920212223242526272829303132333435363738 |
- [project]
- name = "agent"
- version = "0.1.6"
- 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",
- "asyncer>=0.0.17",
- "psycopg2-binary>=2.9.11",
- "loguru>=0.7.3",
- "openpyxl>=3.1.5",
- "asyncio>=4.0.0",
- ]
- requires-python = ">=3.10"
- readme = "README.md"
- license = {text = "MIT"}
- [tool.pdm]
- build.package-dir = "src"
- distribution = true
- [project.scripts]
- tagging-agent-server = "agent.main:main" # 格式:模块:函数
- [tool.pdm.scripts]
- start = "python -m agent.main"
- 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"
|