WEB API independent

This commit is contained in:
tuyang.yhj
2023-06-30 13:16:43 +08:00
parent c9b3a12021
commit aed2cb21a9
57 changed files with 385 additions and 6 deletions

View File

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