[GH-ISSUE #1006] [BUG]: addDocumentToNamespace Ollama Failed to embed: [undefined]: undefined #617

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

Originally created by @shikeqiang on GitHub (Apr 2, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1006

How are you running AnythingLLM?

Docker (local)

What happened?

i'm use ollama nomic-embed-text,upload word get errors.

Are there known steps to reproduce?

No response

Originally created by @shikeqiang on GitHub (Apr 2, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1006 ### How are you running AnythingLLM? Docker (local) ### What happened? i'm use ollama nomic-embed-text,upload word get errors. ### Are there known steps to reproduce? _No response_
yindo added the possible bugneeds info / can't replicate labels 2026-02-22 18:20:29 -05:00
yindo closed this issue 2026-02-22 18:20:29 -05:00
Author
Owner

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

Please post any relevant error logs as this is too non-descript to help debug.

@timothycarambat commented on GitHub (Apr 2, 2024): Please post any relevant error logs as this is too non-descript to help debug.
Author
Owner

@Husniper commented on GitHub (Apr 2, 2024):

INVALID OLLAMA SETUP. No embedding engine has been set. Go to instance settings and set up an embedding interface to use Ollama as your LLM.

@Husniper commented on GitHub (Apr 2, 2024): INVALID OLLAMA SETUP. No embedding engine has been set. Go to instance settings and set up an embedding interface to use Ollama as your LLM.
Author
Owner

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

INVALID OLLAMA SETUP. No embedding engine has been set. Go to instance settings and set up an embedding interface to use Ollama as your LLM.

This is pretty self-explainatory here. Please go to the embedder setting and select one and be sure to click save when done setting up the connection

@timothycarambat commented on GitHub (Apr 2, 2024): > INVALID OLLAMA SETUP. No embedding engine has been set. Go to instance settings and set up an embedding interface to use Ollama as your LLM. This is pretty self-explainatory here. Please go to the embedder setting and select one and be sure to click save when done setting up the connection
Author
Owner

@shikeqiang commented on GitHub (Apr 2, 2024):

I choose local ollama as the Embedding Providers and nomic-embed-text:last. In addition, the LLM Preference is correctly configured on ollma to enable normal dialogue

Chunks created from document: 1
[OllamaEmbedder] Embedding 1 chunks of text with nomic-embed-text:latest.
addDocumentToNamespace Ollama Failed to embed: [undefined]: undefined
Failed to vectorize search_jd.com-Search.html
[TELEMETRY SENT] {
event: 'documents_embedded_in_workspace',
distinctId: 'a96b4397-166e-423c-84a1-4c972833b6c3',
properties: {
LLMSelection: 'ollama',
Embedder: 'ollama',
VectorDbSelection: 'lancedb',
runtime: 'docker'
}
}

@shikeqiang commented on GitHub (Apr 2, 2024): I choose local ollama as the Embedding Providers and nomic-embed-text:last. In addition, the LLM Preference is correctly configured on ollma to enable normal dialogue Chunks created from document: 1 [OllamaEmbedder] Embedding 1 chunks of text with nomic-embed-text:latest. addDocumentToNamespace Ollama Failed to embed: [undefined]: undefined Failed to vectorize search_jd.com-Search.html [TELEMETRY SENT] { event: 'documents_embedded_in_workspace', distinctId: 'a96b4397-166e-423c-84a1-4c972833b6c3', properties: { LLMSelection: 'ollama', Embedder: 'ollama', VectorDbSelection: 'lancedb', runtime: 'docker' } }
Author
Owner

@diamsa commented on GitHub (Apr 5, 2024):

I had the same issue, even though i did not use Docker, and it was because the Ollama server wasn't running. I forgot to launch it. But as you are using docker, make sure your containers don't have a networking problem when they try to use the Ollama service locally.

@diamsa commented on GitHub (Apr 5, 2024): I had the same issue, even though i did not use Docker, and it was because the Ollama server wasn't running. I forgot to launch it. But as you are using docker, make sure your containers don't have a networking problem when they try to use the Ollama service locally.
Author
Owner

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

That checks out. Will attempt to replicate it with that information now. If anything we should handle that error then

@timothycarambat commented on GitHub (Apr 5, 2024): That checks out. Will attempt to replicate it with that information now. If anything we should handle that error then
Author
Owner

@CatInCloud commented on GitHub (Apr 6, 2024):

@shikeqiang Has this issue been solved? How did it be solved.I havethe same issue

@CatInCloud commented on GitHub (Apr 6, 2024): @shikeqiang Has this issue been solved? How did it be solved.I havethe same issue
yindo changed title from [BUG]: addDocumentToNamespace Ollama Failed to embed: [undefined]: undefined to [GH-ISSUE #1006] [BUG]: addDocumentToNamespace Ollama Failed to embed: [undefined]: undefined 2026-06-05 14:36:18 -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#617