Skip to content

Welcome to the WhyHow Knowledge Graph Studio SDK Documentation

Python 3.10 Python 3.11

The WhyHow Knowledge Graph Studio SDK enables you to quickly and easily build automated knowledge graphs tailored to your unique worldview. Instantly build, extend, and query well-scoped KGs using a raw PDF or CSV and simple seed concepts in natural language.

Key Features

  • Flexible Data Ingestion & Framework integration: Plug your existing structured and unstructured data pre-processing pipelines into our graph creation process and Graph Studio

  • Flexible Querying Logic & Answer Construction: Build on top of our Graph Querying Engine to enhance and customize the information coming from the graph

  • Flexible Multi Graph<>Agentic Workflows: Build multi-graph multi-agent workflows with modular WhyHow graphs

Getting Started

  1. Install the package by following the Installation Guide
  2. Initialize the SDK client with your WhyHow API key
  3. Create a workspace and add raw documents using client.documents.upload()
  4. Create a graph for the workspace using client.graphs.create() using a list of seed concepts
  5. Query the graph with natural language using client.graphs.query_unstructured()

For a detailed walkthrough and code examples, check out the Tutorial.