python-server-api / api /api_model.py
Aleksandr Filippov
Added fake comments api endpoint
38b0254
raw
history blame contribute delete
148 Bytes
from pydantic import BaseModel
from typing import Optional
class GenerateWebRequest(BaseModel):
prompt: str
history: Optional[str] = None