[GH-ISSUE #13020] Embeddings broken in recent Ollama versions - returning empty embedding. #34382

Closed
opened 2026-04-22 17:54:10 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @smileBeda on GitHub (Nov 8, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/13020

What is the issue?

ollama rm nomic-embed-text
deleted 'nomic-embed-text'
ollama pull nomic-embed-text
pulling manifest 
pulling 970aa74c0a90: 100% ▕████████████████████████████████████████████████████████████████████████▏ 274 MB                         
pulling c71d239df917: 100% ▕████████████████████████████████████████████████████████████████████████▏  11 KB                         
pulling ce4a164fc046: 100% ▕████████████████████████████████████████████████████████████████████████▏   17 B                         
pulling 31df23ea7daa: 100% ▕████████████████████████████████████████████████████████████████████████▏  420 B                         
verifying sha256 digest 
writing manifest 
success 
curl http://127.0.0.1:11434/api/embeddings \
  -H "Content-Type: application/json" \
  -d '{"model":"nomic-embed-text","input":"hello"}'
{"embedding":[]}%                                                                                                                     
ollama pull all-minilm
pulling manifest 
pulling 797b70c4edf8: 100% ▕████████████████████████████████████████████████████████████████████████▏  45 MB                         
pulling c71d239df917: 100% ▕████████████████████████████████████████████████████████████████████████▏  11 KB                         
pulling 85011998c600: 100% ▕████████████████████████████████████████████████████████████████████████▏   16 B                         
pulling 548455b72658: 100% ▕████████████████████████████████████████████████████████████████████████▏  407 B                         
verifying sha256 digest 
writing manifest 
success 
 curl http://127.0.0.1:11434/api/embeddings \
  -H "Content-Type: application/json" \
  -d '{"model":"all-minilm","input":"hello"}'
{"embedding":[]}%

This is on ollama version 0.12.10

This gas been working for almost a year, something has broken this in a recent update.

Relevant log output

None of the steps on that page actually show logs on a Mac.

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.12.10

Originally created by @smileBeda on GitHub (Nov 8, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/13020 ### What is the issue? ``` ollama rm nomic-embed-text deleted 'nomic-embed-text' ollama pull nomic-embed-text pulling manifest pulling 970aa74c0a90: 100% ▕████████████████████████████████████████████████████████████████████████▏ 274 MB pulling c71d239df917: 100% ▕████████████████████████████████████████████████████████████████████████▏ 11 KB pulling ce4a164fc046: 100% ▕████████████████████████████████████████████████████████████████████████▏ 17 B pulling 31df23ea7daa: 100% ▕████████████████████████████████████████████████████████████████████████▏ 420 B verifying sha256 digest writing manifest success curl http://127.0.0.1:11434/api/embeddings \ -H "Content-Type: application/json" \ -d '{"model":"nomic-embed-text","input":"hello"}' {"embedding":[]}% ollama pull all-minilm pulling manifest pulling 797b70c4edf8: 100% ▕████████████████████████████████████████████████████████████████████████▏ 45 MB pulling c71d239df917: 100% ▕████████████████████████████████████████████████████████████████████████▏ 11 KB pulling 85011998c600: 100% ▕████████████████████████████████████████████████████████████████████████▏ 16 B pulling 548455b72658: 100% ▕████████████████████████████████████████████████████████████████████████▏ 407 B verifying sha256 digest writing manifest success curl http://127.0.0.1:11434/api/embeddings \ -H "Content-Type: application/json" \ -d '{"model":"all-minilm","input":"hello"}' {"embedding":[]}% ``` This is on ollama version 0.12.10 This gas been working for almost a year, something has broken this in a recent update. ### Relevant log output ```shell None of the steps on that page actually show logs on a Mac. ``` ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.12.10
GiteaMirror added the bug label 2026-04-22 17:54:10 -05:00
Author
Owner

@jmorganca commented on GitHub (Nov 9, 2025):

Hi @smileBeda, the endpoint to use here is /api/embed, as /api/embeddings is deprecated.

If you'd like to use /api/embeddings anyways, make sure to use the "prompt" parameter instead:

curl http://127.0.0.1:11434/api/embeddings \
  -H "Content-Type: application/json" \
  -d '{"model":"nomic-embed-text","prompt":"hello there who are you"}'
<!-- gh-comment-id:3507373474 --> @jmorganca commented on GitHub (Nov 9, 2025): Hi @smileBeda, the endpoint to use here is `/api/embed`, as `/api/embeddings` is deprecated. If you'd like to use `/api/embeddings` anyways, make sure to use the `"prompt"` parameter instead: ``` curl http://127.0.0.1:11434/api/embeddings \ -H "Content-Type: application/json" \ -d '{"model":"nomic-embed-text","prompt":"hello there who are you"}' ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#34382