mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #774] feat: expose rag API #12209
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 @nick-tonjum on GitHub (Feb 17, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/774
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!!
@mattfusf commented on GitHub (May 5, 2024):
Is there any documentation on how to call this?
@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.@kw1c-TimoCorstjens commented on GitHub (Aug 23, 2024):
Any progress on this?
@justinh-rahb commented on GitHub (Aug 25, 2024):
@kw1c-TimoCorstjens been exposed for months. https://docs.openwebui.com/features#-swagger-documentation