WEB API independent

This commit is contained in:
tuyang.yhj
2023-07-03 09:56:33 +08:00
parent c621bf1e33
commit 6b35be2808
56 changed files with 14 additions and 401 deletions

View File

@@ -97,9 +97,9 @@ def knowledge_list():
return params
@router.get("/")
async def read_main():
return FileResponse(f"{static_file_path}/index.html")
# @router.get("/")
# async def read_main():
# return FileResponse(f"{static_file_path}/index.html")
@router.get("/v1/chat/dialogue/list", response_model=Result[ConversationVo])