Skip to content

Conversation

@Sagit-chu
Copy link
Owner

Synced from upstream PR: songquanpeng#2267

Feature:

  1. 改动VertexAI的GetAdaptor逻辑,default增加模型adapter的逻辑,便于适配后续新模型产生
  2. 增加VertexAI的Embedding的adapter,支持VertexAI的embedding api

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

image

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 5.50459% with 103 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
relay/adaptor/vertexai/embedding/adapter.go 0.00% 68 Missing ⚠️
relay/adaptor/gemini/main.go 0.00% 12 Missing ⚠️
relay/adaptor/vertexai/adaptor.go 0.00% 12 Missing ⚠️
relay/adaptor/vertexai/registry.go 35.29% 11 Missing ⚠️

📢 Thoughts on this report? Let us know!

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