Skip to content

fix(litellm): pass encoding_format="float" explicitly will break voyage/voyage-code-3 embeddings #148

@thachck

Description

@thachck

Issues

fix(litellm): pass encoding_format="float" explicitly in PR #144 will break embeddings with voyage/voyage-code-3, which requires base64 encoding format (error message states so)

Quick fix

I have to remove encoding_format="float" in src/cocoindex_code/litellm_embedder.py for it to work.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions