* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
16 lines
312 B
Python
16 lines
312 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
class TextToCadCreateBody(BaseModel):
|
|
"""Body for generating models from text."""
|
|
|
|
kcl_version: Optional[str] = None
|
|
|
|
project_name: Optional[str] = None
|
|
|
|
prompt: str
|
|
|
|
model_config = ConfigDict(protected_namespaces=())
|