Review and adjust the generated output before importing—it is a suggestion, not a final structure.
Prerequisites
Setup
- Download and extract the KG Generator zip file.
- Open a terminal in the extracted folder.
- Activate your virtual environment:
- Windows:
<venvs_folder>/<venv_name>/Scripts/activate - Unix/macOS:
<venvs_folder>/<venv_name>/bin/activate
- Windows:
- Install dependencies:
- Verify installation:
pip list— confirm all packages fromrequirements.txtare listed. - Download the spaCy English model:
Run the Generator
Output
The generator createsao_output.json in the project root directory. This file can be imported directly into your AI Agent’s KG.
See Import a Knowledge Graph.
Importing replaces the existing KG. Back up your current KG before importing.