mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
feat(loader): add picture description configuration for DoclingLoader
This commit is contained in:
parent
7ef2345ba6
commit
8644e81a1c
1 changed files with 6 additions and 0 deletions
|
|
@ -294,6 +294,12 @@ class Loader:
|
|||
"do_picture_classification": self.kwargs.get(
|
||||
"DOCLING_DO_PICTURE_DESCRIPTION"
|
||||
),
|
||||
"picture_description_local": (
|
||||
'{\n'
|
||||
' "repo_id": "HuggingFaceTB/SmolVLM-256M-Instruct",\n'
|
||||
' "prompt": "Describe the image in detail, including objects, actions, and connections. Use a descriptive and informative style."\n'
|
||||
'}'
|
||||
)
|
||||
},
|
||||
)
|
||||
elif (
|
||||
|
|
|
|||
Loading…
Reference in a new issue