Skip to content

Conversation

@wb04307201
Copy link
Contributor

this PR is Support for Embedding-3 Model and Update Related Tests.

the PR content:

  • Add Embedding_3 Model in ZhiPuAiApi
  • Add Embedding_3 Test Cases in EmbeddingIT

…ests

- Add Embedding_3 Model in ZhiPuAiApi
- Add embedding3 Test Cases in EmbeddingIT
@ilayaperumalg ilayaperumalg self-assigned this Nov 4, 2024
assertThat(embeddingResponse.getResults().get(0)).isNotNull();
assertThat(embeddingResponse.getResults().get(0).getOutput()).hasSize(2048);

// assertThat(this.embeddingModel.dimensions()).isEqualTo(2048);
Copy link
Member

Choose a reason for hiding this comment

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

The changes look good! It is weird that the embedding model dimensions is "-1". Do you know why?

Copy link
Member

Choose a reason for hiding this comment

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

@wb04307201 The ZhipuAiApi Embedding model is updated with Embedding-2 and Embedding-3. Since we haven't heard back on the test, I couldn't merge the PR earlier. Closing this PR for now. Please create a new PR with the updated test if you prefer. Thanks!

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.

2 participants