Skip to content

michaelpoluektov/OWUI-ReAct

Repository files navigation

Open WebUI ReAct agent

A collection of scripts I use for my Open WebUI instance. The main one is react_langfuse_pipe.py. Langfuse is not needed for this to work. The other scripts are just Langfuse integrations.

react_langfuse_pipe.py

If you're not using OpenAI/Ollama/Langfuse just leave their respective valves empty.

You need to add this in the Functions tab in OpenWebUI. It won't affect anything unless you've got any Tools enabled. Apart from streaming/citations related fuff, the implementation is quite straightforward, relying on LangGraph's create_react_agent.

langfuse_capture_rating.py

Modifies OWUI's existing like/dislike buttons to forward the rating to Langfuse. It still creates a dialogue for more information, which doesn't really do anything.

langfuse_like_action.py and langfuse_dislike_action.py

Create a new button for like and dislike, to be used with ENABLE_MESSAGE_RATING=false. More configurable than langfuse_capture_rating.py but the theme is a bit off.

About

ChatGPT-like tool interactions for Open WebUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages