[PR #956] [MERGED] fix: embedding init err #22798

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/956
Author: @takatost
Created: 8/22/2023
Status: Merged
Merged: 8/22/2023
Merged by: @takatost

Base: mainHead: fix/embedding-init-err


📝 Commits (2)

  • dad8d0e fix: xinference embd init err
  • dd76c9a fix: xinference embedding not normalized

📊 Changes

2 files changed (+24 additions, -2 deletions)

View changed files

📝 api/core/model_providers/models/embedding/xinference_embedding.py (+3 -2)
api/core/third_party/langchain/embeddings/xinference_embedding.py (+21 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify/pull/956 **Author:** [@takatost](https://github.com/takatost) **Created:** 8/22/2023 **Status:** ✅ Merged **Merged:** 8/22/2023 **Merged by:** [@takatost](https://github.com/takatost) **Base:** `main` ← **Head:** `fix/embedding-init-err` --- ### 📝 Commits (2) - [`dad8d0e`](https://github.com/langgenius/dify/commit/dad8d0e7be721678f949cea54104572ba6ae29ab) fix: xinference embd init err - [`dd76c9a`](https://github.com/langgenius/dify/commit/dd76c9aba0a0cf9add81675b671a74b3f388a095) fix: xinference embedding not normalized ### 📊 Changes **2 files changed** (+24 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `api/core/model_providers/models/embedding/xinference_embedding.py` (+3 -2) ➕ `api/core/third_party/langchain/embeddings/xinference_embedding.py` (+21 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-21 20:19:47 -05:00
yindo closed this issue 2026-02-21 20:19:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22798