Skip to content

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

Merged
songquanpeng merged 1 commit intosongquanpeng:mainfrom
SLKun:main
Aug 6, 2024
Merged

feat: update Ollama embedding API to latest version with multi-text embedding support#1715
songquanpeng merged 1 commit intosongquanpeng:mainfrom
SLKun:main

Conversation

@SLKun
Copy link
Copy Markdown
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
@codecov
Copy link
Copy Markdown

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
@songquanpeng
Copy link
Copy Markdown
Owner

Thx~

mxdlzg pushed a commit to mxdlzg/one-api that referenced this pull request Oct 15, 2024
@Hearnzhao
Copy link
Copy Markdown

Hearnzhao commented Dec 12, 2024

How can I use in oneapi ? without code. update oneapi or ollama?

SheldonLiu0412 pushed a commit to SheldonLiu0412/one-api that referenced this pull request Jan 23, 2025
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的嵌入模型调用错误

3 participants