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/base
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
..
action-button Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
agent-log-modal refactor: type improvements that doesn't modify functionality (#17970) 12 months ago
answer-icon Chore: frontend infrastructure upgrade (#16420) 1 year ago
app-icon Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
app-icon-picker refactor & perf: `import { noop } from 'lodash-es'` across `web` (#17439) 12 months ago
audio-btn Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
audio-gallery Chore/cleanup warnings (#17974) 12 months ago
auto-height-textarea Chore: frontend infrastructure upgrade (#16420) 1 year ago
avatar Chore: frontend infrastructure upgrade (#16420) 1 year ago
badge Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
block-input Chore: frontend infrastructure upgrade (#16420) 1 year ago
button Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
chat feat(logAndAnn): add control option for question editing feature (#19117) 11 months ago
checkbox feat/TanStack-Form (#18346) 12 months ago
chip Chore: frontend infrastructure upgrade (#16420) 1 year ago
confirm Chore: frontend infrastructure upgrade (#16420) 1 year ago
content-dialog Chore: frontend infrastructure upgrade (#16420) 1 year ago
copy-btn Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
copy-feedback Chore: frontend infrastructure upgrade (#16420) 1 year ago
copy-icon Chore: frontend infrastructure upgrade (#16420) 1 year ago
corner-label Chore: frontend infrastructure upgrade (#16420) 1 year ago
custom-icon Initial commit 3 years ago
date-and-time-picker Feat:edu frontend (#17251) 1 year ago
dialog Chore: frontend infrastructure upgrade (#16420) 1 year ago
divider chore: add unit test to high frequency component (#17423) 1 year ago
drawer fix: fix workflow as a tool confirm dialog layout issue (#18494) 11 months ago
drawer-plus fix: fix workflow as a tool confirm dialog layout issue (#18494) 11 months ago
dropdown Chore: frontend infrastructure upgrade (#16420) 1 year ago
emoji-picker refactor & perf: `import { noop } from 'lodash-es'` across `web` (#17439) 12 months ago
features Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
file-icon fix: support mdx files close #11557 (#11565) 1 year ago
file-uploader fix: cannot regenerate with image(#15060) (#16611) 12 months ago
float-popover-container feat: fe mobile responsive next (#1609) 2 years ago
float-right-container feat: fe mobile responsive next (#1609) 2 years ago
form feat/TanStack-Form (#18346) 12 months ago
fullscreen-modal refactor & perf: `import { noop } from 'lodash-es'` across `web` (#17439) 12 months ago
ga Chore: frontend infrastructure upgrade (#16420) 1 year ago
grid-mask Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
icons Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
image-gallery Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
image-uploader Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
input feat/TanStack-Form (#18346) 12 months ago
input-number feat/TanStack-Form (#18346) 12 months ago
install-button Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
linked-apps-panel Chore: frontend infrastructure upgrade (#16420) 1 year ago
list-empty Chore: frontend infrastructure upgrade (#16420) 1 year ago
loading chore: add unit test to high frequency component (#17423) 1 year ago
logo Added the missing path of the webpath prefix and the prefix basepath + of static resources to remove the bug of adding more basepath. (#18658) 11 months ago
markdown-blocks fix: styles and missing imports (#18396) 12 months ago
mermaid feat(api): Add image multimodal support for LLMNode (#17372) 11 months ago
message-log-modal Chore: frontend infrastructure upgrade (#16420) 1 year ago
modal refactor & perf: `import { noop } from 'lodash-es'` across `web` (#17439) 12 months ago
modal-like-wrap Chore: frontend infrastructure upgrade (#16420) 1 year ago
new-audio-button Chore: frontend infrastructure upgrade (#16420) 1 year ago
notion-icon Feat: dataset dark mode (#17993) 12 months ago
notion-page-selector Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
pagination chore: add `'no-empty-function': 'error'` to `eslint.config.mjs` (#17656) 12 months ago
param-item feat/TanStack-Form (#18346) 12 months ago
popover fix: update htmlContent type and wrap button in div for manualClose (#16716) 1 year ago
portal-to-follow-elem chore: add unit test to high frequency component (#17423) 1 year ago
premium-badge Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
progress-bar Chore: frontend infrastructure upgrade (#16420) 1 year ago
prompt-editor fix: fix import LexicalErrorBoundary error (#19124) 11 months ago
prompt-log-modal Chore: frontend infrastructure upgrade (#16420) 1 year ago
qrcode Chore: frontend infrastructure upgrade (#16420) 1 year ago
radio Chore: frontend infrastructure upgrade (#16420) 1 year ago
radio-card Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
search-input Chore: frontend infrastructure upgrade (#16420) 1 year ago
segmented-control feat: llm support struct output (#17994) 12 months ago
select Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
simple-pie-chart feat: parent child retrieval (#12106) 1 year ago
skeleton Introduce Plugins (#13836) 1 year ago
slider Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
sort Chore: frontend infrastructure upgrade (#16420) 1 year ago
spinner chore: add unit test to high frequency component (#17423) 1 year ago
svg Chore: frontend infrastructure upgrade (#16420) 1 year ago
svg-gallery Chore/cleanup warnings (#17974) 12 months ago
switch fix: change `Switch.props.ref` to optional prop to align with `OriginalSwitch` (#17443) 1 year ago
tab-header Chore: frontend infrastructure upgrade (#16420) 1 year ago
tab-slider Chore: frontend infrastructure upgrade (#16420) 1 year ago
tab-slider-new Chore: frontend infrastructure upgrade (#16420) 1 year ago
tab-slider-plain Chore: frontend infrastructure upgrade (#16420) 1 year ago
tag feat: tailwind related improvement (#6085) 2 years ago
tag-input Feat: workflow dark mode (#17785) 12 months ago
tag-management Chore/cleanup warnings (#17974) 12 months ago
text-generation Chore: frontend infrastructure upgrade (#16420) 1 year ago
textarea feat: llm support struct output (#17994) 12 months ago
toast Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
tooltip feat/TanStack-Form (#18346) 12 months ago
video-gallery Introduce Plugins (#13836) 1 year ago
voice-input Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 11 months ago
with-input-validation refactor & perf: `import { noop } from 'lodash-es'` across `web` (#17439) 12 months ago
app-unavailable.tsx Chore: frontend infrastructure upgrade (#16420) 1 year ago
badge.tsx Chore: frontend infrastructure upgrade (#16420) 1 year ago
markdown.tsx fix: fix render undefined when text children is empty (#19135) 11 months ago