# 🌊 Deep Dive **Author:** [Fu-Jie](https://github.com/Fu-Jie) | **Version:** 1.0.0 | **Project:** [Awesome OpenWebUI](https://github.com/Fu-Jie/awesome-openwebui) A comprehensive thinking lens that dives deep into any content - from context to logic, insights, and action paths. ## πŸ”₯ What's New in v1.0.0 - ✨ **Thinking Chain Structure**: Moves from surface understanding to deep strategic action. - πŸ” **Phase 01: The Context**: Panoramic view of the situation and background. - 🧠 **Phase 02: The Logic**: Deconstruction of the underlying reasoning and mental models. - πŸ’Ž **Phase 03: The Insight**: Extraction of non-obvious value and hidden implications. - πŸš€ **Phase 04: The Path**: Definition of specific, prioritized strategic directions. - 🎨 **Premium UI**: Modern, process-oriented design with a "Thinking Line" timeline. - πŸŒ— **Theme Adaptive**: Automatically adapts to OpenWebUI's light/dark theme. ## ✨ Key Features - 🌊 **Deep Thinking**: Not just a summary, but a full deconstruction of content. - 🧠 **Logical Analysis**: Reveals how arguments are built and identifies hidden assumptions. - πŸ’Ž **Value Extraction**: Finds the "Aha!" moments and blind spots. - πŸš€ **Action Oriented**: Translates deep understanding into immediate, actionable steps. - 🌍 **Multi-language**: Automatically adapts to the user's preferred language. - πŸŒ— **Theme Support**: Seamlessly switches between light and dark themes based on OpenWebUI settings. ## πŸš€ How to Use 1. **Input Content**: Provide any text, article, or meeting notes in the chat. 2. **Trigger Deep Dive**: Click the **Deep Dive** action button. 3. **Explore the Chain**: Follow the visual timeline from Context to Path. ## βš™οΈ Configuration (Valves) | Parameter | Default | Description | | :--- | :--- | :--- | | **Show Status (SHOW_STATUS)** | `True` | Whether to show status updates during the thinking process. | | **Model ID (MODEL_ID)** | `Empty` | LLM model for analysis. Empty = use current model. | | **Min Text Length (MIN_TEXT_LENGTH)** | `200` | Minimum characters required for a meaningful deep dive. | | **Clear Previous HTML (CLEAR_PREVIOUS_HTML)** | `True` | Whether to clear previous plugin results. | | **Message Count (MESSAGE_COUNT)** | `1` | Number of recent messages to analyze. | ## πŸŒ— Theme Support The plugin automatically detects and adapts to OpenWebUI's theme settings: - **Detection Priority**: 1. Parent document `` tag 2. Parent document `html/body` class or `data-theme` attribute 3. System preference via `prefers-color-scheme: dark` - **Requirements**: For best results, enable **iframe Sandbox Allow Same Origin** in OpenWebUI: - Go to **Settings** β†’ **Interface** β†’ **Artifacts** β†’ Check **iframe Sandbox Allow Same Origin** ## 🎨 Visual Preview The plugin generates a structured thinking timeline: ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ 🌊 Deep Dive Analysis β”‚ β”‚ πŸ‘€ User πŸ“… Date πŸ“Š Word count β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ πŸ” Phase 01: The Context β”‚ β”‚ [High-level panoramic view] β”‚ β”‚ β”‚ β”‚ 🧠 Phase 02: The Logic β”‚ β”‚ β€’ Reasoning structure... β”‚ β”‚ β€’ Hidden assumptions... β”‚ β”‚ β”‚ β”‚ πŸ’Ž Phase 03: The Insight β”‚ β”‚ β€’ Non-obvious value... β”‚ β”‚ β€’ Blind spots revealed... β”‚ β”‚ β”‚ β”‚ πŸš€ Phase 04: The Path β”‚ β”‚ β–Έ Priority Action 1... β”‚ β”‚ β–Έ Priority Action 2... β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ``` ## πŸ“‚ Files - `deep_dive.py` - English version - `deep_dive_cn.py` - Chinese version (η²Ύθ―»)