Replies: 13 comments 29 replies
-
I have that question too.
Great. But actually the generate doesn't work
I get
According to the documentation it should behave like the original endpoint. If I do reverse-proxy as mentioned here: The Whitelist filter of openwebui is basically useless. |
Beta Was this translation helpful? Give feedback.
-
You can use Ollama's API Server to make request as this is the llama.cpp wrapper used. |
Beta Was this translation helpful? Give feedback.
-
Is there way to create WebUI API keys automatically? I am trying to get the user message and details like files selected, collection names from a question by a user for my custom RAG Agent pipeline and currently passing the API keys manually, is there a way I can get it created automatically for every user? |
Beta Was this translation helpful? Give feedback.
-
Routing is really weird for OpenAI endpoints
I would like to use OpenWebUI as an LLM router, API keys creation interface is really convenient, it's nice for users to have a single point of entry, but the routing needs to be fixed. |
Beta Was this translation helpful? Give feedback.
-
I am not sure if I hit a bug or if it's a PBKAC... This works:
This does not work:
The full error I see in the logs says:
|
Beta Was this translation helpful? Give feedback.
-
I'm currently facing the same issue where I want files automatically send to openwebui from an external website but I can't find anything about rag api endpoints |
Beta Was this translation helpful? Give feedback.
-
I am using a browser add-in Page Assist that wants to connect to an Ollama back end. I have set up OpenWebUI as a router between multiple instances of Ollama and I would prefer to connect the browser extension to OpenWebUI if possible. From what I've read OpenWebUI should expose an API endpoint that is functionally equivalent to Ollama. I've tried every combination of URL that I can think of and so far nothing has worked. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Is it possible to chat with our workspace models seen through the Example model I want to chat with from other apps: {
"id": "mister",
"name": "Mister",
"object": "model",
"created": 1725028456,
"owned_by": "ollama",
"info": {
"id": "mister",
"user_id": "ee382672-f37c-433f-8bcb-02c0ce148b73",
"base_model_id": "mistral-nemo:latest",
"name": "Mister",
"params": {},
"meta": {
"profile_image_url": "/static/favicon.png",
"description": "",
"suggestion_prompts": []
},
"updated_at": 1725028456,
"created_at": 1725028456
},
"preset": true
} |
Beta Was this translation helpful? Give feedback.
-
hello everyone, this topic is interesting me as well because I also try to connect to different models (external models, not with ollama) within the openwebui API. Models are accessible from the interface, now I need to connect using the GET/POST API command. I tried to understant how to combines commands from here : But it is completely unsuccessfull. Is there a basic examples of GET / POST commands where it is explain how to : thank you for your time sharing I'm using the request library from python is it a problem ? |
Beta Was this translation helpful? Give feedback.
-
I am also looking for this feature. For me, OpenWebUI is the public gate of my Ollama in my HomeLab. I do not like to expose the Ollama's port to the WAN or put it back of the Nginx. I am using some app which integrated the "GPT" features if I provide the my API. Now I can only using them when I back to home in the LAN. |
Beta Was this translation helpful? Give feedback.
-
I was wondering the same as you, guys: I was looking for an api doc everywhere but, finally, the simplest is only to open your browser dev tool console. Hope it helps others For exemple, steps to create a chat, add a context file on it, and chatI assume you have Open Webui - > localhost:3000, all queries must have the authorization header
And finally (a little bit boring to build the payload for having files but u have all the information with the previous posts)
|
Beta Was this translation helpful? Give feedback.
-
I had a similar problem with authentication to my WebUI server and referencing uploaded documents yesterday, finally got it to work. Here is the code that worked for me:
|
Beta Was this translation helpful? Give feedback.
-
Is there a way to use OpenWebUI as an API endpoint?
For example do similar request via API to the ones we do on the UI?
Including on the call references to uploaded documents. I can't find on the documentation anything for the API.
Beta Was this translation helpful? Give feedback.
All reactions