feat chat robot 接口迁移
This commit is contained in:
8
app/schemas/chat_robot.py
Normal file
8
app/schemas/chat_robot.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class ChatRobotModel(BaseModel):
|
||||
gender: str
|
||||
message: str
|
||||
session_id: str
|
||||
user_id: int
|
||||
5
app/schemas/prompt_generation.py
Normal file
5
app/schemas/prompt_generation.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class PromptGenerationImageModel(BaseModel):
|
||||
text: str
|
||||
Reference in New Issue
Block a user