Skip to content

Add SentenceTransformer Wrapper with Image Embedding Support and Test Cases#14

Open
thenewth wants to merge 3 commits intotonybaloney:mainfrom
thenewth:main
Open

Add SentenceTransformer Wrapper with Image Embedding Support and Test Cases#14
thenewth wants to merge 3 commits intotonybaloney:mainfrom
thenewth:main

Conversation

@thenewth
Copy link
Copy Markdown

Description

Enhancements to the SentenceTransformer wrapper and adds corresponding test cases for image embedding functionality.

Key Changes

  • Wrapper Enhancements
    • Added encode_image function for generating image embeddings.
    • Added load_image function supporting both HTTP URLs and local file paths.
  • Test Cases
    • Added tests for image embedding generation.
    • Verified embedding dimensions (512) and data type to ensure consistency and correctness.

…bedding support

- Implement an image embedding function (encode_image) and an image loading function (load_image).
- Support both HTTP and local file paths.
- Add test for generating image embeddings
- Verify embedding dimensions (512) and data type
Add SentenceTransformer Wrapper with Image Embedding Support and Test Cases
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.

1 participant