mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
feat: add optional support to online providers? #329
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SethBurkart123 on GitHub (Feb 21, 2024).
Is your feature request related to a problem? Please describe.
Sometimes you can't run certain larger models locally eg. a 70b llama model.
Describe the solution you'd like
If we implemented alternative providers that could be connected in by just logging into their accounts e.g. let people log in with their huggingface or perplexity accounts to make available online hosted models. This would largely be a secondary feature similar to the openai api support.
I'd be happy for this to be some kind of implementation with the upcoming Custom Python Backend Actions as it might be slightly off the core functionality that some people may not like implemented into the core. But in order to make logging into these services possible from the frontend there would just have to be a way of injecting extra settings into the frontend.
Thoughts?
@justinh-rahb commented on GitHub (Feb 21, 2024):
Take a look at LiteLLM, it's an OpenAI-API compatible proxy server for various AI APIs including HF models. We've got a few people (myself included) using that to serve multiple providers in WebUI instead of just OpenAI's models.
@tjbck commented on GitHub (Feb 26, 2024):
LiteLLM proxy support has been added!