mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-21 18:05:30 -04:00
[PR #237] [MERGED] feat: support multimodal embeddings #248
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/237
Author: @Yeuoly
Created: 11/14/2025
Status: ✅ Merged
Merged: 12/8/2025
Merged by: @Yeuoly
Base:
main← Head:codex/add-multimodal-rerank-and-embedding-interfaces📝 Commits (10+)
a933f42Inline multimodal entities into existing models19ca6c5apply ruff0b8e5f0Merge branch 'main' into codex/add-multimodal-rerank-and-embedding-interfaces5250460Merge branch 'main' into codex/add-multimodal-rerank-and-embedding-interfaces0bd99d4bump to 0.7.0b17d225d9fix: remove tenant_id from invoke_multimodal_embeddingcd81d57tests: add rerankaea1032apply ruff2d3a005fix7118abefix: typing📊 Changes
13 files changed (+445 additions, -10 deletions)
View changed files
📝
python/dify_plugin/core/entities/invocation.py(+2 -0)📝
python/dify_plugin/core/entities/plugin/request.py(+23 -2)📝
python/dify_plugin/core/plugin_executor.py(+28 -0)📝
python/dify_plugin/entities/model/rerank.py(+24 -1)📝
python/dify_plugin/entities/model/text_embedding.py(+33 -1)📝
python/dify_plugin/interfaces/model/rerank_model.py(+48 -1)📝
python/dify_plugin/interfaces/model/text_embedding_model.py(+44 -1)📝
python/dify_plugin/invocations/model/rerank.py(+28 -1)📝
python/dify_plugin/invocations/model/text_embedding.py(+30 -1)📝
python/dify_plugin/plugin.py(+12 -0)📝
python/pyproject.toml(+1 -1)➕
python/tests/interfaces/model/test_rerank.py(+104 -0)📝
python/tests/interfaces/model/test_text_embedding.py(+68 -1)📄 Description
Summary
Testing
pytest python/tests/test_multimodal_requests.pyCodex Task
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.