We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to get embeddings from the Llava34b model via this code, but get a go error:
payload = json.dumps({ "model": "llava:34b", "prompt": f"{system_prompt}\n\nHuman: {user_prompt}", "stream": False, "images": [base64_image] }) # Set the headers headers = { 'Content-Type': 'application/json' } response = requests.post("http://192.168.1.17:6006/api/embeddings", json=payload)
returns this:
Error: 400 - {"error":"json: cannot unmarshal string into Go value of type api.EmbeddingRequest"}
macOS
Apple
v0.2.7
The text was updated successfully, but these errors were encountered:
ollama doesn't currently support embeddings for images: #5304
Sorry, something went wrong.
No branches or pull requests
What is the issue?
I'm trying to get embeddings from the Llava34b model via this code, but get a go error:
returns this:
Error: 400 - {"error":"json: cannot unmarshal string into Go value of type api.EmbeddingRequest"}
OS
macOS
GPU
Apple
CPU
Apple
Ollama version
v0.2.7
The text was updated successfully, but these errors were encountered: