{"id":17526911,"url":"https://github.com/karaketir16/openwebui-langfuse","last_synced_at":"2026-01-16T15:58:58.803Z","repository":{"id":245684550,"uuid":"818959141","full_name":"karaketir16/openwebui-langfuse","owner":"karaketir16","description":"This repository provides resources and guidelines to facilitate the integration of Open-WebUI and Langfuse, enabling seamless monitoring and management of AI model usage statistics.","archived":false,"fork":false,"pushed_at":"2024-06-23T11:39:41.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-23T12:33:56.851Z","etag":null,"topics":["docker","docker-compose","langfuse","llm","llm-webui","ollama","ollama-webui","open-webui","pipelines"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karaketir16.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-23T11:18:29.000Z","updated_at":"2024-06-23T12:34:01.379Z","dependencies_parsed_at":"2024-06-23T12:34:01.163Z","dependency_job_id":"2851123d-5fc1-4e9c-8979-e83ac3e3ea8f","html_url":"https://github.com/karaketir16/openwebui-langfuse","commit_stats":null,"previous_names":["karaketir16/openwebui-langfuse"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karaketir16%2Fopenwebui-langfuse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karaketir16%2Fopenwebui-langfuse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karaketir16%2Fopenwebui-langfuse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karaketir16%2Fopenwebui-langfuse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karaketir16","download_url":"https://codeload.github.com/karaketir16/openwebui-langfuse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242161485,"owners_count":20081883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","langfuse","llm","llm-webui","ollama","ollama-webui","open-webui","pipelines"],"created_at":"2024-10-20T15:02:37.126Z","updated_at":"2026-01-16T15:58:58.789Z","avatar_url":"https://github.com/karaketir16.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# OLLAMA + OPEN-WEBUI + PIPELINES + LANGFUSE\n\n## Introduction\n\nThis repository provides a setup for integrating [OLLAMA](https://github.com/ollama/ollama), [OPEN-WEBUI](https://github.com/open-webui/open-webui), [PIPELINES](https://github.com/open-webui/pipelines/), and [LANGFUSE](https://github.com/langfuse/langfuse) using Docker. Follow the steps below to get everything up and running.\n\n## Prerequisites\n\n- Docker and required GPU drivers installed on your system.\n\n## Installation\n\n1. **Clone this repository:**\n   ```bash\n   git clone https://github.com/karaketir16/openwebui-langfuse.git\n   cd openwebui-langfuse\n   ```\n\n2. **Run the setup script:**\n   ```bash\n   ./run-compose.sh\n   ```\n   or\n   ```bash\n   docker compose -f docker-compose.yaml -f langfuse-v3.yaml up -d\n   # default driver is nvidia\n   ```\n\n## Configuration\n\n### Langfuse Setup\n0. **Documentation**\n   - You can find up-to-date documentation [here](https://langfuse.com/docs/integrations/openwebui).\n\n1. **Download the `langfuse_filter_pipeline.py` file (only if offline):**\n   - If your setup does **not** have internet access:\n     - You can manually download the script from:\n       `https://github.com/open-webui/pipelines/blob/main/examples/filters/langfuse_filter_pipeline.py`\n     - Or use the local copy provided at: `example/langfuse_filter_pipeline.py`\n\n2. **Access Langfuse:**\n   - Open your browser and go to `http://localhost:4000`.\n\n3. **Create an Admin Account and Project:**\n   - Create an admin account and then create an organization and a project.\n   - Go to Project Settings and create an API key.\n   - Retrieve the secret key and public key.\n\n### Open-WebUI Setup\n\n1. **Access Open-WebUI:**\n   - Open your browser and go to `http://localhost:3000`.\n\n2. **Create an Admin Account:**\n   - Create an admin account.\n\n3. **Upload the Pipeline Script:**\n   - Go to `Settings -\u003e Admin Settings -\u003e Pipelines`.\n   - If online, paste this URL:\n     ```\n     https://raw.githubusercontent.com/open-webui/pipelines/refs/heads/main/examples/filters/langfuse_filter_pipeline.py\n     ```\n     into the `Install from Github URL` field and click the download button.\n   - If offline or using a custom script, upload `langfuse_filter_pipeline.py` from your local machine via the `Upload Pipeline` section.\n\n4. **Configure the Script:**\n   - After uploading the pipeline, edit its configuration in the UI.\n   - Replace the placeholder values as follows:\n     - `your-secret-key-here` → your **Langfuse secret key**\n     - `your-public-key-here` → your **Langfuse public key**\n     - `https://cloud.langfuse.com` → `http://langfuse-web:4000` (**local address**)\n\n\n5. **Monitor Usage:**\n   - You can now monitor Open-WebUI usage statistics from Langfuse.\n\n### Model Downloading\n\n1. **Access Open-WebUI:**\n   - Open your browser and go to `http://localhost:3000`.\n\n2. **Create an Admin Account:**\n   - Create an admin account if you haven’t already.\n\n3. **Pull Models:**\n   - Navigate to `Settings -\u003e Admin Settings -\u003e Models`.\n   - Enter a model tag to pull from the Ollama library (e.g., `phi3:mini`).\n   - Press the pull button.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaraketir16%2Fopenwebui-langfuse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaraketir16%2Fopenwebui-langfuse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaraketir16%2Fopenwebui-langfuse/lists"}