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.6.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

whyhow-0.1.6-py3-none-any.whl (42.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for whyhow-0.1.6.tar.gz
Algorithm Hash digest
SHA256 2330a056639ce4a6e91156c96b477698b452890d00453fe0bf3ba7d576628bcc
MD5 191ad08afc999e0162d02bd60a7f1a14
BLAKE2b-256 39842128a7460ceafe27f46fa4b1c5b801aa28f20a4e7001da1d504bd0e412e2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for whyhow-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3d729333214cc20a900ae19a585dda8a0c4fd9cb1b682a99028fcb0bcb0fd011
MD5 280cc1462c9679753afa8ba832d3f98f
BLAKE2b-256 e52fa89e24bee762cab2a5aab6fccb0a0c9628f2cbe267cb7134a7c70c1488c8

See more details on using hashes here.

Supported by

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