File size: 3,226 Bytes
3c2e3e7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
---
title: InsightFlow AI
emoji: 🧠
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: true
# app_port: 7860
short_description: "AI research assistant: RAG, visuals, multi-perspective"
---

# InsightFlow AI: Multi-Perspective Research Assistant

Dive deep into complex topics with InsightFlow AI! This advanced research assistant leverages multiple perspectives to provide nuanced understanding. Features Retrieval Augmented Generation (RAG) for richer insights and a slick UI powered by Chainlit.

![InsightFlow AI](https://huggingface.co/datasets/suhas/InsightFlow-AI-demo/resolve/main/insightflow_banner.png)

## Key Features

🧠 **Multiple Perspective Analysis**:
Explore topics through various lenses:
- **Analytical**: Logical, pattern-seeking examination.
- **Scientific**: Evidence-based, empirical reasoning.
- **Philosophical**: Deeper meaning and holistic implications.
- **Factual**: Straightforward, verified information.
- **Metaphorical**: Creative analogies for clarity.
- **Futuristic**: Forward-looking potential developments.

🕵️ **Personality Perspectives**:
Gain insights from unique AI personas like:
- **Sherlock Holmes**: Deductive, detailed observation.
- **Richard Feynman**: Clear, first-principles explanations.
- **Hannah Fry**: Math-meets-society storytelling.

🎨 **Visualization Capabilities**:
- **Concept Maps**: Auto-generated Mermaid diagrams.
- **Visual Notes**: DALL-E sketches of key insights.
- **Visual-Only Mode**: Focus on visuals for quick takes (in Settings).

🔍 **Retrieval Augmented Generation (RAG)**:
- Supported personas search dedicated knowledge bases for informed answers.
- Toggle RAG via the Settings panel.

📤 **Export Options**:
- **Markdown & PDF Export**: Save your analyses (full functionality under development).

## How to Use

1.  **Configure (⚙️ Settings)**: Select Persona Teams (e.g., Balanced Overview) or individual personas. Adjust RAG, display modes, etc.
2.  **Ask**: Type your research question.
3.  **Review**: Explore the synthesized view, individual perspectives, and visuals.
4.  **Help**: Type `/help` for a detailed guide.
5.  **Export**: Use `/export_md` or `/export_pdf` (coming soon!).

## Quick Commands

Most options are in the **Settings (⚙️) panel**. Type `/help` for a full guide.

```markdown
# Core
/help                  - Detailed help on features & settings.

# Toggles (also in Settings)
/direct on|off         - Bypass multi-persona for direct LLM response.
/perspectives on|off   - Show/hide individual perspective views.
/visualization on|off  - Show/hide Mermaid & DALL-E visuals.
/quick_mode on|off     - Use a smaller, faster set of personas.
/rag on|off            - Toggle RAG for supported personas.
```

## Example Topics

- Historical events, scientific concepts, societal issues.
- Future trends, complex problems needing diverse viewpoints.

## Tech Stack

- Python, LangGraph, OpenAI APIs, Chainlit.

## Try It Out!

- "The societal impact of artificial intelligence"
- "Strategies for climate change adaptation"
- "The nature of consciousness"

## Feedback

Got questions or feedback? Open an issue on the [GitHub repository](https://github.com/suhas/InsightFlow-AI) or comment on this Space.