Skip to content

Use code-specific Jina task defaults for code embedding models#914

Merged
qin-ctx merged 1 commit intovolcengine:mainfrom
3kyou1:fix/jina-code-task-912
Mar 24, 2026
Merged

Use code-specific Jina task defaults for code embedding models#914
qin-ctx merged 1 commit intovolcengine:mainfrom
3kyou1:fix/jina-code-task-912

Conversation

@3kyou1
Copy link
Copy Markdown
Contributor

@3kyou1 3kyou1 commented Mar 24, 2026

This updates the Jina embedder defaults for jina-code-embeddings-* models so code queries use the code-specific task names.

It also keeps explicit task overrides unchanged and adds tests for both cases.

Tested with:

  • targeted unit tests for JinaDenseEmbedder

Closes #912

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 24, 2026

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link
Copy Markdown

Failed to generate code suggestions for PR

@qin-ctx qin-ctx merged commit 79cc248 into volcengine:main Mar 24, 2026
1 of 2 checks passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in OpenViking project Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Bug]: jina-code-embeddings-1.5b fails with retrieval.query task — incompatible task type passed to Jina API

3 participants