Whyhow automated KG SDK
Project description
WhyHow Knowledge Graph Studio SDK
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file whyhow-0.1.9.tar.gz
.
File metadata
- Download URL: whyhow-0.1.9.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0068830a8f8ebb31d295c04fdcda3a1ba915b95e834717e032b41fe2b5694bc7 |
|
MD5 | d55ba9208cf5036ab5fcb5812e9f30a9 |
|
BLAKE2b-256 | ad8f24063f924fa91c534cdcd995b77cbc203768a9f876fcc6bcc17e14d2f800 |
File details
Details for the file whyhow-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: whyhow-0.1.9-py3-none-any.whl
- Upload date:
- Size: 56.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7e61d31aa4a9d0afe7d5f8dee6957fc4c7a292378896a7f40e9cfd66cd094ab |
|
MD5 | b630b5520cde63c0f9c3063fa8aaaa05 |
|
BLAKE2b-256 | a39cce064ab8ee86c5b634d29ad63879c5e1ea17af9af6a786b242f7b1c83c9c |