Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update Ollama embedding API to latest version with multi-text embedding support #1715

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

SLKun
Copy link
Contributor

@SLKun SLKun commented Aug 5, 2024

修改Ollama嵌入API为最新版本, 支持多文本嵌入, 添加Options参数到嵌入请求中。

close #1305 #1407

我已确认该 PR 已自测通过,相关截图如下:
image

@songquanpeng songquanpeng changed the title Update Ollama embedding API to latest version with multi-text embedding support feat: update Ollama embedding API to latest version with multi-text embedding support Aug 6, 2024
Copy link

codecov bot commented Aug 6, 2024

Codecov Report

Attention: Patch coverage is 0% with 17 lines in your changes missing coverage. Please review.

Project coverage is 1.30%. Comparing base (c936198) to head (3c6fa7f).
Report is 1 commits behind head on main.

Files Patch % Lines
relay/adaptor/ollama/main.go 0.00% 16 Missing ⚠️
relay/adaptor/ollama/adaptor.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1715      +/-   ##
========================================
- Coverage   1.30%   1.30%   -0.01%     
========================================
  Files        144     144              
  Lines      10140   10148       +8     
========================================
  Hits         132     132              
- Misses      9994   10002       +8     
  Partials      14      14              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@songquanpeng songquanpeng merged commit e7e99e5 into songquanpeng:main Aug 6, 2024
2 of 4 checks passed
@songquanpeng
Copy link
Owner

Thx~

mxdlzg pushed a commit to mxdlzg/one-api that referenced this pull request Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ollama的嵌入模型调用错误
2 participants