[docs]classTextGenerationCreateRequest(_TextGenerationCreateRequest):"""Following properties are required for local server"""input:strmodel_id:strparameters:TextGenerationParameters=Field(default_factory=lambda:TextGenerationParameters())data:Optional[PromptTemplateData]=Noneinput:Optional[str]=Field(None,examples=["How are you"],title="Input string")moderations:Optional[ModerationParameters]=None
[docs]classTextTokenizationCreateRequest(_TextTokenizationCreateRequest):"""Following properties are required for local server"""model_id:str=Field(...)parameters:TextTokenizationParameters=Field(default_factory=lambda:TextTokenizationParameters())input:Optional[Union[str,list[str]]]=Noneprompt_id:Optional[str]=None