Skip to content

feat: jina embed support #146

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

Merged
merged 1 commit into from
Apr 23, 2025
Merged

feat: jina embed support #146

merged 1 commit into from
Apr 23, 2025

Conversation

zijiren233
Copy link
Member

@zijiren233 zijiren233 commented Apr 23, 2025

Sweep Summary Sweep

Added support for Jina AI embeddings by implementing request conversion and response handling for the embeddings mode.

  • Created new embeddings.go file in the Jina adaptor to handle embedding request conversion specifically for Jina AI.
  • Updated the Jina adaptor to properly handle embeddings mode by implementing the ConvertRequest method.
  • Modified the OpenAI embeddings function to use an explicit boolean parameter instead of metadata flags for better reusability.
  • Updated the Baidu adaptor to use the refactored OpenAI embeddings function with the new parameter.

Ask Sweep AI questions about this PR

@zijiren233 zijiren233 merged commit 1baed23 into labring:main Apr 23, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant