[PR #8950] chore: add missing models from Voyage #26240

Closed
opened 2026-02-21 20:39:09 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/8950

State: closed
Merged: Yes


Checklist:

Important

Please review the checklist below before submitting your pull request.

  • Please open an issue before creating a PR or link to an existing issue
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas (no code changes)
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods (no code changes)

Description

Simply just added more models from Voyage. Specifically, the newest rerank models rerank-2 and rerank-2-lite from Voyage. I also added other domain-specific embedding models from Voyage.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update, included: Dify Document
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • Dependency upgrade

Testing Instructions

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Make sure they are choosable (Unfortunately, I couldn't make the embedding process working in the dev container setup. Hence, I can't really check if my changes really work. But since I only added the YAML file and I followed the format. I think it should work seamlessly.)

Screenshot 2024-09-30 172544
Screenshot 2024-09-30 172802

**Original Pull Request:** https://github.com/langgenius/dify/pull/8950 **State:** closed **Merged:** Yes --- # Checklist: > [!IMPORTANT] > Please review the checklist below before submitting your pull request. - [ ] Please open an issue before creating a PR or link to an existing issue - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas (no code changes) - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods (no code changes) # Description Simply just added more models from Voyage. Specifically, the [newest rerank models](https://docs.voyageai.com/docs/reranker#model-choice) `rerank-2` and `rerank-2-lite` from Voyage. I also added other [domain-specific embedding models](https://docs.voyageai.com/docs/embeddings) from Voyage. ## Type of Change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement - [ ] Dependency upgrade # Testing Instructions Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration - [x] Make sure they are choosable (Unfortunately, I couldn't make the embedding process working in the dev container setup. Hence, I can't really check if my changes really work. But since I only added the YAML file and I followed the format. I think it should work seamlessly.) ![Screenshot 2024-09-30 172544](https://github.com/user-attachments/assets/78c873a4-4f7d-4815-92d0-1dc14be6fc7c) ![Screenshot 2024-09-30 172802](https://github.com/user-attachments/assets/a497a301-767f-457f-9283-70847eaa8dc8)
yindo added the pull-request label 2026-02-21 20:39:09 -05:00
yindo closed this issue 2026-02-21 20:39:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#26240