open-webui / docs

https://docs.openwebui.com
https://docs.openwebui.com
50 stars 64 forks source link

doc: env var for configuring embeddings model #46

Closed peperunas closed 2 months ago

peperunas commented 2 months ago

It would be great to have a way to setup the default embedding models via an env var.

For example, the user can set up a provider - e.g., Ollama - and its embedding model.

tjbck commented 2 months ago

PR welcome!

tjbck commented 2 months ago
image

I just realised you can already do this with these env vars. Let me know if you encounter any issues.

justinh-rahb commented 2 months ago
image

I just realised you can already do this with these env vars. Let me know if you encounter any issues.

So like embedding engine options would be ollama, openai and...?

tjbck commented 2 months ago

empty string for default built-in sentence transformer, ollama for Ollama, openai for OpenAI 😅