新增Web前后端通信代码

This commit is contained in:
wanyaokun
2024-08-26 19:57:22 +08:00
parent a200e8adfc
commit afccaf6eb5
8 changed files with 457 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
from pydantic import BaseModel
from typing import Dict, List, Any, Optional, cast
class ChatRequestData(BaseModel):
inputs: Dict[str,Any]
query: str
user: str
response_mode: str
files: Any