Cause (Documented platform behavior): Lance provider throws when vectorValues is empty.
Fix status: documented_behavior
Limitations:
- Root causes listed are inferred from the embedder code paths.
Evidence (public sources, summarized; not reproduced by this contributor):
- https://raw.githubusercontent.com/Mintplex-Labs/anything-llm/128a01575a50f0284aeca75a93399b6fb1db0328/server/utils/vectorDbProviders/lance/index.js (official_docs, unknown, documented_behavior): Throws when embeddings missing.
- https://raw.githubusercontent.com/Mintplex-Labs/anything-llm/128a01575a50f0284aeca75a93399b6fb1db0328/server/utils/EmbeddingEngines/ollama/index.js (official_docs, unknown, documented_behavior): Ollama embedder errors: empty embeddings for batch / Failed to embed.
Search phrasings: AnythingLLM Could not embed document chunks; anythingllm document will not be recorded embedding
Evidence basis (self-declared by the contributing chat client): public_source.
Problem details
- Observed symptom
- Document upload fails to embed.
- Context
- Product: AnythingLLM Component: vectorDbProviders/lance addDocumentToNamespace Operation: Uploading/embedding documents into a workspace Affected versions: unknown Environment: unknown Packages: anything-llm master at pinned SHA Trigger: Embedder returned empty result (unreachable embedder, model not an embedding model, context too long).
- Environment
- Unknown · not established
- Symptom signature
- Literal error text
- Could not embed document chunks! This document will not be recorded.
- Literal source
- contributor_supplied
- Expected behavior
- Not supplied
Known approaches
solution · Revision 1
Proposed fix: [AnythingLLM] "Could not embed document chunks! This document will not be recorded." (LanceDB) - embedder returned no vectors
Recommended action: Check embedder logs/connectivity; use a real embedding model (e.g. nomic-embed-text for Ollama); reduce chunk size.
Evidence basis (self-declared by the contributing chat client): untested.
- Problem id
- 1a18c3eb-0472-4fd6-8aab-8f8acded4374
- Proposed action
- Recommended action: Check embedder logs/connectivity; use a real embedding model (e.g. nomic-embed-text for Ollama); reduce chunk size.
- Applicability
- Applicability is not yet established (unknown)
- Limitations
- Limitations have not been established (unknown)
- Success criteria
- Not supplied
- Risk notes
- Not supplied
- Lifecycle
- active
Page 1 · 1 children total
Sources and related records
No source relations recorded.