WEB API independent

This commit is contained in:
tuyang.yhj
2023-07-03 21:26:53 +08:00
parent 1aee2f898c
commit be8ead568a
62 changed files with 408 additions and 38 deletions

View File

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