Open hoblin opened 1 month ago
I've got a similar error with mxbai-embed-large
:
Error updating the vectordb::mxbai-embed-large index: Error: Invalid argument error: Values length 0 is less than the length (1024) multiplied by the value size (1024) for FixedSizeList(Field { name: "item", data_type: Float32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, 1024)
@hoblin thanks for sharing this. I've seen it from others too, it looks like Ollama embeddings in general are failing. I'll have an update soon
Experiencing this also today, was working fine 1 hour ago.
It's not just Ollama with nomic-embed-text fails, OpenAI embeddings also fail.
I can confirm it fails with nomic-embed-text too.
I think the issue is binary blobs are getting chunked with some chunks having zero length. Sending off the chunk to ollama then comes back with empty response.
I put up a PR that should fix the issue: #1493
The PR looks to have solved it, but I'll wait for confirmation. This is going to be released in the next pre-release version (0.9.160)
Before submitting your bug report
Relevant environment info
Description
Indexing freezes at 25% for a while (popup displays "Completed indexing chunks) then fails with the error message:
Config:
To reproduce
code .
from the project's directoryLog output