[GH-ISSUE #1088] [BUG]: LanceDBError with nomic-embed-text #673

Closed
opened 2026-02-22 18:20:46 -05:00 by yindo · 2 comments
Owner

Originally created by @ZiHAO-LI-cmd on GitHub (Apr 12, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1088

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

I deployed nomic-embed-text:last embedding model on server but met an error when using it.
image

If I switch to AnythingLLM Embedder, it works well. The nomic-embed-text model works well in server because I tested it and it can return embedding vectors. So, I think it maybe the incompatibility problem with LanceDB.
image

Are there known steps to reproduce?

Same error from others: https://github.com/ollama/ollama/issues/2778

Originally created by @ZiHAO-LI-cmd on GitHub (Apr 12, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1088 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? I deployed `nomic-embed-text:last` embedding model on server but met an error when using it. ![image](https://github.com/Mintplex-Labs/anything-llm/assets/83964237/f1064f25-089f-4d06-99be-fe0b28a357b9) If I switch to AnythingLLM Embedder, it works well. The `nomic-embed-text` model works well in server because I tested it and it can return embedding vectors. So, I think it maybe the incompatibility problem with LanceDB. ![image](https://github.com/Mintplex-Labs/anything-llm/assets/83964237/e38f3929-ad79-4a5c-b6f7-e2495da68b9e) ### Are there known steps to reproduce? Same error from others: https://github.com/ollama/ollama/issues/2778
yindo added the needs info / can't replicate label 2026-02-22 18:20:46 -05:00
yindo closed this issue 2026-02-22 18:20:46 -05:00
Author
Owner

@timothycarambat commented on GitHub (Apr 15, 2024):

On latest ollama:

  • ollama serve is running

  • ollama pull nomic-embed-text
    Set up embedder connection
    Screenshot 2024-04-15 at 10 27 48 AM

  • Create new workspace

  • Upload fresh document and move into workspace

  • Document is embedded successfully

  • Send Chat - complete response (openAi as LLM)
    Screenshot 2024-04-15 at 10 28 58 AM

Confirm DB has vectors
Screenshot 2024-04-15 at 10 29 46 AM

@timothycarambat commented on GitHub (Apr 15, 2024): On latest ollama: - `ollama serve` is running - `ollama pull nomic-embed-text` Set up embedder connection <img width="815" alt="Screenshot 2024-04-15 at 10 27 48 AM" src="https://github.com/Mintplex-Labs/anything-llm/assets/16845892/9929effb-bc5b-4863-9f78-ba94ee061577"> - Create new workspace - Upload fresh document and move into workspace - Document is embedded successfully - Send Chat - complete response (openAi as LLM) <img width="1158" alt="Screenshot 2024-04-15 at 10 28 58 AM" src="https://github.com/Mintplex-Labs/anything-llm/assets/16845892/a9966cdd-8562-4a65-aeda-e35666bdd50a"> Confirm DB has vectors <img width="724" alt="Screenshot 2024-04-15 at 10 29 46 AM" src="https://github.com/Mintplex-Labs/anything-llm/assets/16845892/4e404bcc-3013-442e-9c59-32a91cbed027">
Author
Owner

@timothycarambat commented on GitHub (Apr 19, 2024):

Closing this issue. This error results from swapping embedder providers or models after you already have cached documents or active embeddings.

When you change embedders - the dimensions between previously embedded content and new content or queries will not work. That is just how it works. We have now set a warning telling you this to prevent running into this issue #1131

@timothycarambat commented on GitHub (Apr 19, 2024): Closing this issue. This error results from swapping embedder providers or models after you already have cached documents or active embeddings. When you change embedders - the dimensions between previously embedded content and new content or queries will not work. That is just how it works. We have now set a warning telling you this to prevent running into this issue #1131
yindo changed title from [BUG]: LanceDBError with nomic-embed-text to [GH-ISSUE #1088] [BUG]: LanceDBError with nomic-embed-text 2026-06-05 14:36:36 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#673