Error handling

This commit is contained in:
Fred de Gier 2022-10-03 11:47:54 +02:00
commit 6f49915d2a
3 changed files with 9 additions and 4 deletions

View file

@ -4,7 +4,7 @@ from pydantic import BaseModel
class OpenAIinput(BaseModel):
model: str
model: str = "fastertransformer"
prompt: Optional[str]
suffix: Optional[str]
max_tokens: Optional[int] = 16