mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
fix: return full embedding dimensions instead of truncating trailing zeros - Remove the logic that strips trailing zeros from embeddings - Trailing zeros may be valid values in some embedding models - This fixes the issue where embeddings like jina-v3 returned only 1/4 of their native dimensions (256 instead of 1024) - The truncation was causing vector database dimension mismatch errors - Fixes issue #8721 Signed-off-by: localai-bot <localai-bot@users.noreply.github.com> Co-authored-by: localai-bot <localai-bot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| backend_suite_test.go | ||
| detection.go | ||
| embeddings.go | ||
| image.go | ||
| llm.go | ||
| llm_test.go | ||
| options.go | ||
| rerank.go | ||
| soundgeneration.go | ||
| stores.go | ||
| token_metrics.go | ||
| tokenize.go | ||
| transcript.go | ||
| tts.go | ||
| vad.go | ||
| video.go | ||