{"slug": "build-a-full-knowledge-graph-locally-with-any-video", "title": "Build a full knowledge graph locally with any video", "summary": "GoodQ4All, a 100% private, offline video and audio analysis system, now runs on Windows 11, ingesting media into local knowledge graphs with scene segmentation, Whisper transcription, speaker diarization, and semantic search via SQLite and Qdrant. The system ensures verifiability with proof-backed manifests and audit trails, requiring 25 GB of free space and an RTX 4070 Ti SUPER 16GB for large models.", "body_md": "**Offline Video Search, Scene Segmentation, Speech Transcription (Whisper), Speaker Diarization, and SQLite + Qdrant Semantic Search on Windows 11**\n\n[\n](https://askgoodq.com/)\n\n(Note: The optional Ask GoodQ voice agent is a hosted extension using ElevenLabs APIs. The core GoodQ4All memory system itself is 100% local and offline.)\n\nGoodQ4All is a **100% private, offline alternative** to cloud-based media intelligence services. It ingests video, audio, and text files into queryable, structured scene-level memories, persisting the knowledge graph and vector representations locally on your computer.\n\nFollowing a strict **\"proof-backed\" system doctrine**, GoodQ4All documents every perception step, tracks evidence manifests, and logs a comprehensive audit trail so that every memory claim can be verified.\n\n-\n**Get This Level of Local Control (Unified Operator UI):**\n\n*Click the preview above to watch the high-fidelity onboarding video.* -\n**From Video Quality as Low as This: (Raw Media Inputs):**\n\n*Apollo 11 Moon Walk (nasa_descent.gif)*\n\n*Saturn V Launch (nasa_launch.gif)* -\n**Using This All-in-One Installer (Unified Windows Installer):**[🚀 Download GoodQ4All Setup v2.4.0.exe](https://github.com/GoodQ02/goodq4all/releases/download/v2.4.0/GoodQ4All_Setup_2.4.0.exe)[!IMPORTANT]\n\n**System Requirement: Windows 11 only.** GoodQ4All is built for Windows-first local execution. It requires at least**25 GB** of free space to store local database structures, models, and cache files.**SmartScreen Workaround:** Since the setup installer is currently self-signed, Windows SmartScreen may show an \"Unknown Publisher\" dialog. Click**More info** and select**Run anyway** to proceed.**Integrity Checksum:** Verify your download authenticity by running the following command in PowerShell:Expected SHA256 hash: Refer to the GitHub Releases page for the latest signed executable checksum.\n\n```\nGet-FileHash GoodQ4All_Setup_2.4.0.exe\n```\n\nMachine memory should earn every claim it makes. GoodQ4All generates step-by-step logs (`step_runs.jsonl`\n\n), scene manifests, and intermediate features for every ingested file.\n\n**Single-Use Confirmation Tokens**: Ingestion submission routes are protected by a server-generated token handshake with single-use nonce validation, preventing unauthenticated/out-of-bounds execution.**Epistemic Verification**: Ingestion is tracked using verifiable manifests and SQLite-backed relational schemas.** No Silent Failures**: The Control Agent and Watchdog processes bubble errors directly to the operator consoles, providing absolute visibility into the execution stack.\n\nTo run large-parameter local models safely on consumer hardware (e.g. RTX 4070 Ti SUPER 16GB) without Out-of-Memory (OOM) crashes, GoodQ4All implements strict VRAM and execution controls:\n\n**Model Lifecycle Manager**: A specialized context manager (`lib/model_lifecycle.py`\n\n) that audits free VRAM using PyTorch and`nvidia-smi`\n\nbefore loading models, dynamically evicting idle networks from GPU memory.**Local Agent Stack (**: Gated LLM reasoning and local tool execution through zero-dependency policy enforcement middleware, loading schemas, policies, and contracts dynamically from the version-controlled`MiniAgentClient`\n\n)`agents/stack/`\n\ndirectory.**Endpoint Fallback Orchestration**: Automatically falls back from the primary local vLLM server (`prefer_speed`\n\n, running Qwen2.5) to a local Ollama service (`prefer_quality`\n\n, running Phi-4) or a CPU-safe model variant when VRAM thresholds are breached.\n\nHigh-precision 32-bit floating point embeddings are persisted in Qdrant and FAISS. For rapid candidate filtering, GoodQ4All uses **TurboQuant**—an SQLite sidecar caching technology employing Lloyd-Max Polar Quantization and Johnson-Lindenstrauss residual projections.\n\n**Performance:** Achieves sub-millisecond candidate pre-filtering.**Accuracy:** 100% search accuracy is maintained by performing the final rank scoring on the uncompressed raw float32 vectors.\n\nNote\n\n**Hybrid Precision Caching Model**:\nGoodQ4All uses an additive **sidecar vector cache** architecture. High-precision 32-bit floating point (`float32`\n\n) embeddings remain the authoritative truth of the system, stored in Qdrant and FAISS. Performance-oriented query pre-filtering is handled via lightweight **TurboQuant** fields (Lloyd-Max Polar Quantization + Johnson–Lindenstrauss residual corrections) stored in SQLite. This ensures zero data loss, guarantees rollback capability, and cuts memory usage.\n\nThe pipeline dynamically adjusts its computational needs to match your system specs:\n\n`BASELINE`\n\n(CPU-safe): Fully operational, offline-ready execution on standard CPU hardware. Bypasses GPU requirements gracefully.`GPU_ENHANCED`\n\n: Activates local NVIDIA GPU (CUDA 12.1) and WSL2 accelerated audio processing paths for fast, high-volume ingestion.\n\nGoodQ4All compiles the isolated Python environment, the Qdrant database, and perception libraries into a single executable wrapper:\n\n- Download and run\n`GoodQ4All_Setup_1.0.0.exe`\n\n. - Launch\n**GoodQ4All** from the desktop shortcut. - Open the local\n**Retro Memory Explorer** dashboard at`http://127.0.0.1:30000/ui/retro_console_v1/`\n\n. - Drag-and-drop video/audio files onto the yellow-dotted\n**Upload Pad** to begin automatic ingestion.\n\nIf you are developing, customizing the pipeline, or running from source:\n\n**Developer Source Setup Steps (Advanced)**\n\nGoodQ4All ships with two local operator console variants:\n\n**Classic Operator Console**(served at`/ui/operator_console_v1/`\n\n): Exposes the current scope strip, flight deck, proof/evidence status, recurrence reports, and video inventories.**Retro Memory Explorer (v1.4.7)**(served at`/ui/retro_console_v1/`\n\n): A premium cyber-CRT dashboard featuring a four-panel resizable/collapsible layout with floating restore tabs, an entity co-occurrence graph with dynamic zoom and flight transitions, an Inspector panel containing keyframe image/transcript views, and bidirectional timeline checklists.\n\n- Guided demo:\n`docs/guides/DEMO.md`\n\n- First run:\n`docs/guides/FIRST_RUN.md`\n\n- Install:\n`docs/guides/install/INSTALL.md`\n\n- Quickstart:\n`docs/guides/install/QUICKSTART.md`\n\n- Clean memory start:\n`docs/guides/CLEAN_MEMORY_START.md`\n\n- Data Privacy:\n`docs/guides/general/PRIVACY.md`\n\n- Architecture:\n`docs/architecture/SYSTEM_ARCHITECTURE.md`\n\n- Memory Storage:\n`docs/architecture/MEMORY_STORAGE.md`\n\n- Hybrid Caching:\n`docs/architecture/TURBOQUANT_HYBRID_CACHING.md`\n\n- Current Agent State:\n`docs/agent/CURRENT_STATE.md`\n\nMIT. See [ LICENSE](/GoodQ02/goodq4all/blob/main/LICENSE).", "url": "https://wpnews.pro/news/build-a-full-knowledge-graph-locally-with-any-video", "canonical_source": "https://github.com/goodq02/goodq4all", "published_at": "2026-06-20 00:50:02+00:00", "updated_at": "2026-06-20 01:07:41.709135+00:00", "lang": "en", "topics": ["artificial-intelligence", "machine-learning", "large-language-models", "ai-tools", "ai-infrastructure"], "entities": ["GoodQ4All", "Whisper", "SQLite", "Qdrant", "ElevenLabs", "Qwen2.5", "Phi-4", "FAISS"], "alternates": {"html": "https://wpnews.pro/news/build-a-full-knowledge-graph-locally-with-any-video", "markdown": "https://wpnews.pro/news/build-a-full-knowledge-graph-locally-with-any-video.md", "text": "https://wpnews.pro/news/build-a-full-knowledge-graph-locally-with-any-video.txt", "jsonld": "https://wpnews.pro/news/build-a-full-knowledge-graph-locally-with-any-video.jsonld"}}