mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #1004] [MERGED] fix(models/langgenius/jina): Fix Jina schema and remove non existent model #1671
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-official-plugins/pull/1004
Author: @DavideDelbianco
Created: 5/29/2025
Status: ✅ Merged
Merged: 5/30/2025
Merged by: @crazywoola
Base:
main← Head:main📝 Commits (1)
81e3bc5fix(models/langgenius/jina): Fix Jina schema and remove non existent model📊 Changes
9 files changed (+78 additions, -34 deletions)
View changed files
➕
models/jina/.env.example(+4 -0)📝
models/jina/manifest.yaml(+4 -4)📝
models/jina/models/rerank/_position.yaml(+2 -2)📝
models/jina/models/rerank/rerank.py(+26 -13)📝
models/jina/models/text_embedding/_position.yaml(+6 -0)➖
models/jina/models/text_embedding/jina-embeddings-v2-small-en.yaml(+0 -9)📝
models/jina/models/text_embedding/text_embedding.py(+29 -5)📝
models/jina/provider/jina.py(+6 -0)📝
models/jina/requirements.txt(+1 -1)📄 Description
Related Issues or Context
This change fixes the validation error about the schema not being valid when installing Jina
closes https://github.com/langgenius/dify/issues/19167
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.2.0,<0.3.0in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
NOTE
I know the

jina-embeddings-v2-small-enis available on HuggingFace, but through the official API it is no longer available, and it has been replaced by v3 at the same price:from: https://jina.ai/models
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.