enhance: [2.6] adds dimensions support for TEI text embedding.#49646
enhance: [2.6] adds dimensions support for TEI text embedding.#49646melodyshu wants to merge 1 commit into
Conversation
issue: milvus-io#49644 Changes: - Parse Function param "dim" in TEI embedding provider. - Pass it to TEI /embed request as JSON field "dimensions". - Keep existing behavior when dim is not specified. - Add unit tests for request serialization and provider dim parsing. Tests: - go test ./internal/util/function/models/tei -count=1 -v - go test -tags test ./internal/util/function/embedding -run TestTEITextEmbeddingProvider -count=1 -v Signed-off-by: melodyshu <1321497435@qq.com>
|
Welcome @melodyshu! It looks like this is your first PR to milvus-io/milvus 🎉 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: melodyshu The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@melodyshu Please associate the related pr of master to the body of your Pull Request. (eg. "pr: #") |
|
[INFO] PR Label Summary by Default
[WARNING] Milestone not set
You can set milestone by commenting: Use /refresh-label to update related check and label manually |
|
[ci-v2-notice] To rerun ci-v2 checks, comment with:
If you have any questions or requests, please contact @zhikunyao. |
|
Done. Added the related master PR to the PR body. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 2.6 #49646 +/- ##
==========================================
- Coverage 77.40% 77.39% -0.01%
==========================================
Files 1974 1974
Lines 315088 315099 +11
==========================================
- Hits 243883 243867 -16
- Misses 63633 63650 +17
- Partials 7572 7582 +10
🚀 New features to boost your workflow:
|
|
/refresh-label |
|
[INFO] PR Label Summary by Refresh-Label
[FAILED] PR #49654 not merged
[WARNING] Milestone not set
You can set milestone by commenting: Use /refresh-label to update related check and label manually |
|
/set-milestone 2.6.16 |
|
[INFO] Set milestone to: 2.6.16 |
|
/refresh-label |
|
[INFO] PR Label Summary by Refresh-Label
[FAILED] PR #49654 not merged
Use /refresh-label to update related check and label manually |
|
[INFO] PR Label Summary by Default
Use /refresh-label to update related check and label manually |
pr: #49654
issue: #49644
Changes:
Tests: