Skip to content

oloflarsson/VisualizationsForOpenWebUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 Visualizations for OpenWebUI

Let LLMs break free from the constraints of plain text and express themselves with visual richness!

💡 How It Works

Visualizations for OpenWebUI takes a unique approach - there are no actual tool calls made.

Instead, we assign awareness to the LLM by exposing dynamic image URL endpoints through a Filter Function that augments the system prompt. The LLM simply generates Markdown image tags pointing to these URLs, and the server responds with dynamically generated visualizations. This approach provides excellent performance by eliminating the overhead of function calls and direct API interactions.

✍️ Engineering Blog: https://olof.tech/visualizations-for-openwebui

📦 How to install

1️⃣ Go https://openwebui.com/posts/9cafe09d-c27e-47a4-a019-0e0c2cc30162 to and click the Get button.
2️⃣ Configure generative image provider in Valves (optional).
3️⃣ Enable the newly added Visualizations filter for a state of the art model, such as Anthropic Claude.

🛠️ How to build

Run the ./build.sh script. This combines all /src files into a single file.

🎨 Chart

Chart Example

🎨 Generative Image (AI Image Generation)

Generative Image Example

🎨 Fancy Text

Fancy Text Example

🎨 Large Emoji

Large Emoji Example

🎨 Meme

Meme Example

🎨 QR Code

QR Code Example

🎨 Color Swatch

Color Swatch Example

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published