This PR adds the embedding implementation for golem-llm, including:

βœ… Basic embedding generation (tested)

βœ… Support for multiple inputs

βœ… Support for custom dimensions (e.g., 256)

βœ… Proper error handling (invalid model tested)

βœ… Support for multiple output formats (float & base64)

All tests run via ./run_embed_tests.sh have passed successfully. Logs confirm that the implementation meets the bounty requirements as specified.

Example logs:

yaml

βœ… Basic embedding generation successful βœ… Multiple inputs test successful βœ… Custom dimensions: 256 βœ… Error handling: returned expected 404 βœ… Base64 format: successfully decoded /claim #16

Claim

Total prize pool $2,000
Total paid $0
Status Pending
Submitted May 22, 2025
Last updated May 22, 2025

Contributors

FÉ

FΓ©licien Diouf

@feliciien

100%

Sponsors

GO

Golem Cloud

@golemcloud

$2,000