openai-openapi-template / app /agent /chat_agent_scheme.py
cevheri's picture
feat: initial implement end-to-end business with mock-chat-agent-client response and validation logic.
7c93711
raw
history blame contribute delete
184 Bytes
from pydantic import BaseModel
class UserChatAgentRequest(BaseModel):
message: str
class AssistantChatAgentResponse(BaseModel):
message: str
figure: dict | None = None