🔥 refactor(schemas.py): remove commented out code for PredictRequest schema
The commented out code for the PredictRequest schema has been removed as it is no longer needed and only adds clutter to the file.
This commit is contained in:
parent
d5d6f7be57
commit
b548a642ff
1 changed files with 0 additions and 26 deletions
|
|
@ -28,32 +28,6 @@ class TweaksRequest(BaseModel):
|
|||
tweaks: Optional[Dict[str, Dict[str, str]]] = Field(default_factory=dict)
|
||||
|
||||
|
||||
# class PredictRequest(BaseModel):
|
||||
# """Predict request schema."""
|
||||
|
||||
# input: dict
|
||||
# tweaks: Optional[Dict[str, Dict[str, str]]] = Field(default_factory=dict)
|
||||
|
||||
# class Config:
|
||||
# schema_extra = {
|
||||
# "example": {
|
||||
# "input": {
|
||||
# "question": "A question to process",
|
||||
# "chat_history": ["A chat history", "Another chat history"],
|
||||
# },
|
||||
# "tweaks": {
|
||||
# "Tool-Aclk2": {
|
||||
# "name": "A tool name",
|
||||
# "description": "A tool description",
|
||||
# },
|
||||
# "NodeName-2kclS": {
|
||||
# "template": "A {template}",
|
||||
# },
|
||||
# },
|
||||
# }
|
||||
# }
|
||||
|
||||
|
||||
class UpdateTemplateRequest(BaseModel):
|
||||
template: dict
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue