mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 22:55:35 +08:00
Add 'path' option to ImagePrompt data_format (#25081)
Signed-off-by: Gerard Finol <gerard.finol@urv.cat>
This commit is contained in:
parent
ef7eefe17a
commit
aa3f105c59
@ -22,7 +22,7 @@ class DataModuleConfig(TypedDict):
|
|||||||
|
|
||||||
class ImagePrompt(BaseModel):
|
class ImagePrompt(BaseModel):
|
||||||
|
|
||||||
data_format: Literal["b64_json", "bytes", "url"]
|
data_format: Literal["b64_json", "bytes", "url", "path"]
|
||||||
"""
|
"""
|
||||||
This is the data type for the input image
|
This is the data type for the input image
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user