08_self_knowledge_graph

command
v2.62.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Dogfooding demo: turn docs/PROJECT_OVERVIEW.md (CortexDB's own project overview) into a knowledge graph using CortexDB's graphflow workflow, with an LLM extractor.

LLM config (any OpenAI-compatible endpoint), via env or a .env (godotenv):

OPENAI_API_KEY + OPENAI_BASE_URL + OPENAI_MODEL   (e.g. DashScope qwen-plus)

If those are unset it falls back to a local Ollama (OLLAMA_BASE / OLLAMA_MODEL, default http://localhost:11434 + qwen3.5).

Run: go run ./examples/08_self_knowledge_graph Output: examples/08_self_knowledge_graph/out/ (graph JSON, report, HTML viz)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL