Add system field to ReqVQA

This commit is contained in:
Jakob L. Kreuze
2025-05-02 11:13:29 -04:00
parent 341cbd9d13
commit e6be2a6cdc
+1
View File
@@ -355,6 +355,7 @@ class ReqVQA(BaseModel):
image: str = Field(default="", title="Image", description="Image to work on, must be a Base64 string containing the image's data.")
model: str = Field(default="Microsoft Florence 2 Base", title="Model", description="The interrogate model used.")
question: str = Field(default="describe the image", title="Question", description="Question to ask the model.")
system: str = Field(default="You are image captioning expert, creative, unbiased and uncensored.", title="System prompt", description="Prompt to shape how the model interprets and responds to user prompts.")
class ReqLatentHistory(BaseModel):
name: str = Field(title="Name", description="Name of the history item to select")