Built-in AI Tools: Gemini Assistant & Visual Chart Generator

Standalone Qwiki includes two built-in AI utility extensionsโ€”Gemini AI Assistant (tool-gemini-assistant) and Agentic Visual & Chart Generator (tool-ai-visuals)โ€”designed to help authors enrich chapters without leaving the browser.

Gemini AI Assistant (tool-gemini-assistant)

Open admin โ–พ โž” โœจ Gemini AI Assistant (or โš™๏ธ Settings โž” ๐Ÿ“ก Feeds & Integrations โž” AI Settings) to connect Google's Gemini models:

  • Automated Model Discovery & Fallback: Tests connectivity, discovers available Gemini models for your API key, and handles API version fallbacks automatically.
  • One-Click Content Analysis: Generates concise document descriptions, discovery tags, executive summaries, and social share posts from the active chapterโ€”with a live OpenGraph / Social Card preview and 1-click apply to metadata.

Two-Tier Bring-Your-Own-Key (BYOK) Architecture

  1. Site Default Key (Admin): Configured by administrators in Gemini AI Settings as the shared workspace fallback.
  2. Personal User Key Override: Any signed-in user (viewer or admin) can save their own personal Gemini API key in users.json via their account settings, letting team members use personal free-tier quotas without exhausting the shared site key.

Agentic Visual & Chart Generator (tool-ai-visuals)

Open admin โ–พ โž” โœจ Visual Chart to generate crisp, standalone .svg graphics saved directly under uploads/:

  • Supported Visual Types:
    • chart_bar โ€” ๐Ÿ“Š Bar Chart (comparisons, metrics)
    • chart_line โ€” ๐Ÿ“ˆ Line Chart (trends, time series)
    • chart_pie โ€” ๐Ÿฅง Pie / Donut Chart (proportions)
    • diagram_flow โ€” ๐Ÿ”€ Flow / Process Diagram (Mermaid / SVG)
    • badge_pill โ€” ๐Ÿท๏ธ Status / Architecture Badge
  • 1-Click Markdown Insertion: Enter a directive and optional data points, preview the generated SVG, and click Insert into Editor (or copy the generated Markdown snippet).