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

support ai proxy for cohere (#960) #1328

Merged
merged 3 commits into from
Sep 20, 2024

Conversation

jk-tonycui
Copy link
Contributor

Ⅰ. Describe what this PR did

最近 Higress 上线了一个新的 Wasm 插件,AI 代理(ai-proxy),支持对接各类 AI 大模型服务提供商,并以统一的 OpenAI 接口契约对外提供服务。目前已支持 OpenAI、Azure OpenAI、通义千问(Qwen)和月之暗面(Moonshot)。

为了进一步扩展该插件的功能,我们需要对接更多的 AI 大模型服务提供商,本次增强了 Cohere。

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@CLAassistant
Copy link

CLAassistant commented Sep 19, 2024

CLA assistant check
All committers have signed the CLA.

@CH3CHO
Copy link
Collaborator

CH3CHO commented Sep 20, 2024

@jk-tonycui 麻烦签一下上面的 CLA~

@jk-tonycui
Copy link
Contributor Author

Done

Copy link
Collaborator

@CH3CHO CH3CHO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.33%. Comparing base (ef31e09) to head (f307b5c).
Report is 105 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1328      +/-   ##
==========================================
+ Coverage   35.91%   44.33%   +8.42%     
==========================================
  Files          69       75       +6     
  Lines       11576     9823    -1753     
==========================================
+ Hits         4157     4355     +198     
+ Misses       7104     5141    -1963     
- Partials      315      327      +12     

see 90 files with indirect coverage changes

@CH3CHO CH3CHO merged commit ffc5458 into alibaba:main Sep 20, 2024
12 checks passed
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.

4 participants