doc: env var for configuring embeddings model #19

Closed
opened 2026-02-15 17:05:12 -05:00 by yindo · 4 comments
Owner

Originally created by @peperunas on GitHub (Apr 17, 2024).

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.

Originally created by @peperunas on GitHub (Apr 17, 2024). 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.
yindo closed this issue 2026-02-15 17:05:12 -05:00
Author
Owner

@tjbck commented on GitHub (Apr 18, 2024):

PR welcome!

@tjbck commented on GitHub (Apr 18, 2024): PR welcome!
Author
Owner

@tjbck commented on GitHub (Apr 20, 2024):

image

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

@tjbck commented on GitHub (Apr 20, 2024): <img width="787" alt="image" src="https://github.com/open-webui/open-webui/assets/25473318/555537b5-d463-40de-9997-d91101f6f732"> I just realised you can already do this with these env vars. Let me know if you encounter any issues.
Author
Owner

@justinh-rahb commented on GitHub (Apr 20, 2024):

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...?

@justinh-rahb commented on GitHub (Apr 20, 2024): > <img alt="image" width="787" src="https://private-user-images.githubusercontent.com/25473318/324201324-555537b5-d463-40de-9997-d91101f6f732.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTM2NDMxNDAsIm5iZiI6MTcxMzY0Mjg0MCwicGF0aCI6Ii8yNTQ3MzMxOC8zMjQyMDEzMjQtNTU1NTM3YjUtZDQ2My00MGRlLTk5OTctZDkxMTAxZjZmNzMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDIwVDE5NTQwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYxMTRlODliYjdmNmQxYmRmZTIwYzQ5ZDIyZDNkNGFkNTNiYjY5YzU1MTEwZDYxODAzNDE1ZmJhNzZhNzAxNDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.rpmMqEiumwTHD8hnHecTMmMghVFTcMTzgjrrbRZ95jM"> > 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...?
Author
Owner

@tjbck commented on GitHub (Apr 20, 2024):

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

@tjbck commented on GitHub (Apr 20, 2024): empty string for default built-in sentence transformer, `ollama` for Ollama, `openai` for OpenAI 😅
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/docs#19