Skip to content
New issue

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

ollama embedding api #1319

Open
lsky-walt opened this issue Feb 20, 2025 · 1 comment
Open

ollama embedding api #1319

lsky-walt opened this issue Feb 20, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@lsky-walt
Copy link

Describe the bug
/api/embeddings Ollama returns 404

Screenshots

Image

Image

Image

Image

Image

Desktop (please complete the following information):

  • OS: macos
  • Browser chrome

Wren AI Information

  • Version: 0.15.3
@lsky-walt lsky-walt added the bug Something isn't working label Feb 20, 2025
@jos666
Copy link

jos666 commented Feb 24, 2025

try this config

type: embedder
provider: litellm_embedder
models:
- model: openai/nomic-embed-text  # put your embedding model name here, if it is not openai embedding model, should be <provider>/<model_name>
  api_base: http://localhost:11434/v1  # change this according to your embedding model
  api_key_name: OPENAI_API_KEY  # chang OPENAI_API_KEY   to random
  timeout: 600
---
type: document_store
provider: qdrant
location: http://qdrant:6333
embedding_model_dim: 768  # put your embedding model dimension here 
timeout: 120
recreate_index: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants