Skip to content

Context Enhancement

Filter v0.2

Enhances chat context with additional information for improved LLM responses.


Overview

The Context Enhancement filter automatically enriches your conversations with contextual information, making LLM responses more relevant and accurate.

Features

  • Auto Enhancement: Automatically adds relevant context
  • Time Awareness: Includes current date/time information
  • User Context: Incorporates user preferences
  • Customizable: Configure what context to include

Installation

  1. Download the plugin file: context_enhancement_filter.py
  2. Upload to OpenWebUI: Admin PanelSettingsFunctions
  3. Configure enhancement options
  4. Enable the filter

Configuration

Option Type Default Description
include_datetime boolean true Add current date/time
include_user_info boolean true Add user name and preferences
custom_context string "" Custom context to always include

Requirements

Prerequisites

  • OpenWebUI v0.3.0 or later

Source Code

View on GitHub