公告板
版本库
filestore
活动
搜索
登录
许永昊
/
rag-gateway
派生自
rag-gateway
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
登录返回用户名和昵称
zhangqian
2024-10-10
e12e689321689eff7479c9c084e53c62e944d31b
[~xuyonghao/rag-gateway.git]
/
app
/
api
/
__init__.py
1
2
3
4
5
6
7
8
9
10
from fastapi import FastAPI
from pydantic import BaseModel
app = FastAPI()
class Response(BaseModel):
code: int = 200
msg: str = ""
data: dict = {}