[GH-ISSUE #7549] ollama_embed issue #4804

Closed
opened 2026-04-12 15:46:52 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Ayush-developer on GitHub (Nov 7, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7549

What is the issue?

postgres=# SELECT ai.ollama_embed('llama3', 'this is a test');
ERROR: ollama._types.ResponseError: model "llama3" not found, try pulling it first
CONTEXT: Traceback (most recent call last):
PL/Python function "ollama_embed", line 21, in
resp = client.embeddings(model, input_text, options=embedding_options_1, keep_alive=keep_alive)
PL/Python function "ollama_embed", line 200, in embeddings
PL/Python function "ollama_embed", line 73, in _request
PL/Python function "ollama_embed" container is able to talk to ollama but not able to recognize this ollama_embed function

OS

macOS

GPU

Apple

CPU

No response

Ollama version

ollama version is 0.4.0

Originally created by @Ayush-developer on GitHub (Nov 7, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7549 ### What is the issue? postgres=# SELECT ai.ollama_embed('llama3', 'this is a test'); ERROR: ollama._types.ResponseError: model "llama3" not found, try pulling it first CONTEXT: Traceback (most recent call last): PL/Python function "ollama_embed", line 21, in <module> resp = client.embeddings(model, input_text, options=embedding_options_1, keep_alive=keep_alive) PL/Python function "ollama_embed", line 200, in embeddings PL/Python function "ollama_embed", line 73, in _request PL/Python function "ollama_embed" container is able to talk to ollama but not able to recognize this ollama_embed function ### OS macOS ### GPU Apple ### CPU _No response_ ### Ollama version ollama version is 0.4.0
GiteaMirror added the question label 2026-04-12 15:46:52 -05:00
Author
Owner

@rick-github commented on GitHub (Nov 7, 2024):

ollama pull llama3
<!-- gh-comment-id:2462162660 --> @rick-github commented on GitHub (Nov 7, 2024): ``` ollama pull llama3 ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4804