You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/web/app/components
QuantumGhost 349c3cf7b8
feat(api): Add image multimodal support for LLMNode (#17372)
Enhance `LLMNode` with multimodal capability, introducing support for
image outputs.

This implementation extracts base64-encoded images from LLM responses,
saves them to the storage service, and records the file metadata in the
`ToolFile` table. In conversations, these images are rendered as
markdown-based inline images.
Additionally, the images are included in the LLMNode's output as
file variables, enabling subsequent nodes in the workflow to utilize them.

To integrate file outputs into workflows, adjustments to the frontend code
are necessary.

For multimodal output functionality, updates to related model configurations
are required. Currently, this capability has been applied exclusively to
Google's Gemini models.

Close #15814.

Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
11 months ago
..
app feat(logAndAnn): add control option for question editing feature (#19117) 11 months ago
app-sidebar Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
base feat(api): Add image multimodal support for LLMNode (#17372) 11 months ago
billing fix(i18n): add functions to retrieve document and pricing page languages (#19142) 11 months ago
custom Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
datasets Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
develop Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
explore Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
header fix(i18n): add functions to retrieve document and pricing page languages (#19142) 11 months ago
plugins Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
share feat: improve embedding sys.user_id and conversion id info usage (#18035) 12 months ago
signin Chore: frontend infrastructure upgrade (#16420) 1 year ago
tools Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
workflow fix: mouse scrolling zooming can not function anymore (#19160) 11 months ago
workflow-app fix: remove chat variable in workflow mode (#18696) 11 months ago
browser-initor.tsx Chore/cleanup warnings (#17974) 12 months ago
i18n-server.tsx Chore: frontend infrastructure upgrade (#16420) 1 year ago
i18n.tsx Introduce Plugins (#13836) 1 year ago
sentry-initor.tsx Chore: frontend infrastructure upgrade (#16420) 1 year ago
swr-initor.tsx Chore/cleanup warnings (#17974) 12 months ago
with-i18n.tsx Initial commit 3 years ago