retoor 6169747edf feat: add async OpenWebUI REST client with streaming and RAG support
Implement a fully-featured asynchronous Python client for the Open WebUI HTTP API using aiohttp. The client supports Bearer/JWT authentication, model listing, chat completions with optional server-side streaming, Ollama proxy helpers (generate, list tags, embed), and RAG utilities for file upload and knowledge collection management. Includes async context manager for automatic session lifecycle, custom exception hierarchy (OpenWebUIError, APIResponseError), and 100% type-hinted production-ready code.
2025-06-20 05:08:10 +00:00

Examples / research

This is a collection of source code examples and research that I share with others online. Not all is written by me. It's also used for just sharing resources on discussion forums. The contents are mainly destined to be read by a software developer.

Do you see something you want to know more about? Contact retoor@molodetz.nl.

S
Description
Information I want to share with other people.
Readme
1.3 MiB
Languages
Python 86.7%
C 8.7%
HTML 2.8%
JavaScript 1.5%
Shell 0.3%