[project] name = "agent" version = "0.1.0" description = "ai-tagging" 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", "dbutils>=3.1.2", "pymysql>=1.1.2", "elasticsearch==8.9.0", "numpy>=2.2.6", "asyncer>=0.0.17", "pdm>=2.26.6", ] 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"