公告板
版本库
filestore
活动
搜索
登录
main
/
rag-gateway
rag-gateway
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
rag-gateway:注册,登录
zhangqian
2024-10-10
3604703a9e7305be2223ab14edc80380fe4f439a
[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 = {}