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/api/tests/unit_tests
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>
9 months ago
..
configs feat: add workflow parallel depth limit configuration (#11460) 1 year ago
controllers refactor(version): simplify version comparison logic (#10109) 1 year ago
core feat(api): Add image multimodal support for LLMNode (#17372) 9 months ago
factories fix: implement robust file type checks to align with existing logic (#17557) 10 months ago
libs fix: return absolute path as the icon url if CONSOLE_API_URL is empty (#15279) 11 months ago
models Feat: upgrade variable assigner (#11285) 1 year ago
oss chore(lint): correct allowed-unused-imports settings for cleanup unused imports in tests (#11922) 1 year ago
repositories refactor: Refactors repository imports structure (#18901) 9 months ago
services fix: cannot delete workflow version if other version is published as a tool (#18486) 10 months ago
utils feat: add interfaces of OAuth handler methods for authorization (#18889) 9 months ago
.gitignore Enhance Code Consistency Across Repository with `.editorconfig` (#19023) 9 months ago
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2 years ago
conftest.py refactor: assembling the app features in modular way (#9129) 1 year ago