Skip to main content

Whyhow automated KG SDK

Project description

WhyHow Knowledge Graph Studio SDK

Python Version License PyPI Version Code Style: Black Checked with mypy WhyHow Discord community

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 with your data.

[!WARNING] This SDK is our old SDK. To access our upgraded Sutdio Platform, please check out our upgraded Studio & SDK here.

Installation

Prerequisites

  • Python 3.10 or higher

Install from PyPI

You can install the SDK directly from PyPI using pip:

pip install whyhow

export WHYHOW_API_KEY=<YOUR_WHYHOW_API_KEY>

Install from Github

Alternatively, you can clone the repo and install the package

git clone git@github.com:whyhow-ai/whyhow.git
cd whyhow
pip install .

export WHYHOW_API_KEY=<YOUR_WHYHOW_API_KEY>

Examples

Navigate to the examples/.

Initialize SDK

Import the SDK and initialize the client using your WhyHow API key.

from whyhow import WhyHow

client = WhyHow(api_key=<your whyhow api key>, base_url="https://api.whyhow.ai")

Support

WhyHow.AI is building tools to help developers bring more determinism and control to their RAG pipelines using graph structures. If you're thinking about, in the process of, or have already incorporated knowledge graphs in RAG, we’d love to chat at team@whyhow.ai, or follow our newsletter at WhyHow.AI. Join our discussions about rules, determinism and knowledge graphs in RAG on our Discord.

We appreciate your interest.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whyhow-0.1.12.tar.gz (49.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whyhow-0.1.12-py3-none-any.whl (59.6 kB view details)

Uploaded Python 3

File details

Details for the file whyhow-0.1.12.tar.gz.

File metadata

  • Download URL: whyhow-0.1.12.tar.gz
  • Upload date:
  • Size: 49.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for whyhow-0.1.12.tar.gz
Algorithm Hash digest
SHA256 670d476613d7bb7c87fda2e1fa2627139b939535b24416f313ece5bc2b03e5b3
MD5 fb9af5e2b51064543b5b794d3d712745
BLAKE2b-256 47093ee03247cd4f0ce9406a30ee064888227b99ace443e271e294d21b59bc01

See more details on using hashes here.

File details

Details for the file whyhow-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: whyhow-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 59.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for whyhow-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 49adef2319dca57dad058eed954ee41e36276126b86659424345c7d4b5b2ccbf
MD5 702b1b4cb32aa5c3745a556aec69da71
BLAKE2b-256 814d36b95b4879f5e43f70c720bdbc01ed0491c97bcb1a9812642731716540c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page