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/core
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
..
agent/output_parser fix: code block syntax cannot be displayed correctly in react mode (#16904) 12 months ago
app fix: streamline file upload configuration handling in manager.py (#15714) 1 year ago
helper Introduce Plugins (#13836) 1 year ago
model_runtime fix: invalid new tool call creation logic during response handling in OAI-Compat model (#17781) 11 months ago
prompt fix: Update prompt message content types to use Literal and add union type for content (#17136) 11 months ago
rag refactor: Update Firecrawl API parameters and default settings (#13082) 1 year ago
tools fix(api): fix fail branch functionality for `WorkflowTool` (#15966) 1 year ago
workflow feat(api): Add image multimodal support for LLMNode (#17372) 11 months ago
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2 years ago
test_file.py feat(llm_node): support order in text and files (#11837) 1 year ago
test_model_manager.py ext_redis.py support redis clusters --- Fixes #9538 (#9789) 1 year ago
test_provider_manager.py Introduce Plugins (#13836) 1 year ago