Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available: 6.17.3
metadata
title: OpenKB Llama Tutorial — Marktechpost
emoji: 📚
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: apache-2.0
short_description: AI wiki from docs via OpenKB + Llama 3.3-70B
OpenKB + OpenRouter (Llama 3.3-70B) — Knowledge Base Tutorial
by Marktechpost
Build an AI-powered knowledge wiki from research documents using OpenKB and Meta's Llama 3.3-70B Instruct served for free via OpenRouter.
What this demo covers
| Step | Description |
|---|---|
| 1 | Initialise a local knowledge base |
| 2 | Compile 3 AI research docs (Transformers, RAG, Knowledge Graphs) into a wiki |
| 3 | Explore auto-generated summaries and concept pages |
| 4 | openkb list + openkb status |
| 5 | Natural-language queries against the wiki |
| 6 | Save a deep synthesis query |
| 7 | Lint the wiki for health issues |
| 8 | Programmatic cross-reference graph analysis |
| 9 | Incremental update — add a 4th document (Sparse Attention) |
Prerequisites
- Create a free account at openrouter.ai.
- Generate an API key at openrouter.ai/keys.
- Paste the key into the app — it is used only for your session and never stored.
The model used (meta-llama/llama-3.3-70b-instruct:free) is free with no credit card required.
Other free models to try
openrouter/mistralai/mistral-7b-instruct:free
openrouter/google/gemma-3-27b-it:free
openrouter/qwen/qwen3-14b:free
openrouter/microsoft/phi-4-reasoning:free
Change LLM_MODEL in app.py to switch models.
Local development
pip install -r requirements.txt
python app.py
Credits
- OpenKB by VectifyAI
- Tutorial by Marktechpost