feat: init project

This commit is contained in:
martsforever
2025-08-21 22:38:41 +08:00
commit 6ae03985bd
48 changed files with 7221 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
[tool.poetry]
name = "ai-langserve"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
readme = "README.md"
packages = [
{ include = "app" },
]
[tool.poetry.dependencies]
python = "^3.11"
uvicorn = "^0.23.2"
langserve = {extras = ["server"], version = ">=0.0.30"}
pydantic = "2.10.6"
langchain-openai = "^0.3.28"
dotenv = "^0.9.9"
pydantic-settings = "^2.10.1"
psutil = "^7.0.0"
asyncmy = "^0.2.10"
sqlmodel = "^0.0.24"
greenlet = "^3.2.3"
passlib = {extras = ["bcrypt"], version = "^1.7.4"}
pyjwt = "^2.10.1"
python-multipart = "^0.0.20"
langgraph = "^0.6.3"
langgraph-checkpoint-postgres = "^2.0.23"
[tool.poetry.group.dev.dependencies]
langchain-cli = ">=0.0.15"
# 配置国内镜像源
[[tool.poetry.source]]
name = "tsinghua"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
priority = "primary" # 最高优先级
[[tool.poetry.source]]
name = "aliyun"
url = "https://mirrors.aliyun.com/pypi/simple/"
priority = "supplemental" # 次级优先级
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"