1 Knowledge Base
root edited this page 2026-02-27 15:19:41 +00:00

Knowledge Base

The project includes a structured knowledge base for AI agents and programmatic access.

Files

JSON Format

output/knowledge_base.json - Structured data for AI consumption

[
  {
    "url": "/getting-started/sns/course-introduction/",
    "title": "Course Introduction",
    "category": "getting-started",
    "content": "Full page content..."
  }
]

Markdown Format

output/knowledge_base.md - Human-readable full-text version


Schema

Field Type Description
url string Page URL path
title string Page title
category string Top-level category
content string Extracted text content

Statistics

  • Total Pages: 177
  • Categories: 12
  • Content Size: ~870KB (JSON)

Usage

Python Example

import json

with open('output/knowledge_base.json') as f:
    kb = json.load(f)

# Search for content
for page in kb:
    if 'server' in page['content'].lower():
        print(f"{page['title']}: {page['url']}")

AI Agent Integration

# Use with Ollama or similar
import json

with open('output/knowledge_base.json') as f:
    kb = json.load(f)

# Create context for LLM
context = "\n\n".join([
    f"## {p['title']}\n{p['content'][:1000]}"
    for p in kb[:10]
])

Categories

Category Pages
getting-started 6
week-by-week 10
infrastructure-fundamentals 26
application 3
it-security 12
exercises 45
tutorials 20
presentations 5
mini-lectures 4
cheat-sheets 4
project-templates 6
other 42