feat: expose rag API #313

Closed
opened 2025-11-11 14:16:31 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @nick-tonjum on GitHub (Feb 17, 2024).

Originally assigned to: @tjbck on GitHub.

I know that the webui has a way to allow passthrough for the Ollama API, so would it be possible to add an extra parameter to - the API to allow users to reference RAG documents or URLs in their call? Of course being handled by the webui before passing it onto Ollama. If I have time I will also help with the coding side of this and submit a PR.

Thank you!!

Originally created by @nick-tonjum on GitHub (Feb 17, 2024). Originally assigned to: @tjbck on GitHub. I know that the webui has a way to allow passthrough for the Ollama API, so would it be possible to add an extra parameter to - the API to allow users to reference RAG documents or URLs in their call? Of course being handled by the webui before passing it onto Ollama. If I have time I will also help with the coding side of this and submit a PR. Thank you!!
Author
Owner

@mattfusf commented on GitHub (May 5, 2024):

Is there any documentation on how to call this?

@mattfusf commented on GitHub (May 5, 2024): Is there any documentation on how to call this?
Author
Owner

@pnmartinez commented on GitHub (Aug 11, 2024):

Hello @mattfusf @nick-tonjum

Apparently the RAG API is now documented on its own on Swagger, see it as the last entry in the docs: https://docs.openwebui.com/features/#-swagger-documentation

The link should be sth like http://localhost:3000/rag/api/v1/docs. If I work out something more helpful I'll post back.

@pnmartinez commented on GitHub (Aug 11, 2024): Hello @mattfusf @nick-tonjum Apparently the RAG API is now documented on its own on Swagger, see it as the last entry in the docs: https://docs.openwebui.com/features/#-swagger-documentation The link should be sth like `http://localhost:3000/rag/api/v1/docs`. If I work out something more helpful I'll post back.
Author
Owner

@kw1c-TimoCorstjens commented on GitHub (Aug 23, 2024):

Any progress on this?

@kw1c-TimoCorstjens commented on GitHub (Aug 23, 2024): Any progress on this?
Author
Owner

@justinh-rahb commented on GitHub (Aug 25, 2024):

Any progress on this?

@kw1c-TimoCorstjens been exposed for months. https://docs.openwebui.com/features#-swagger-documentation

@justinh-rahb commented on GitHub (Aug 25, 2024): > Any progress on this? @kw1c-TimoCorstjens been exposed for months. https://docs.openwebui.com/features#-swagger-documentation
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#313