Skip to main content

Graphwise Logo

Talk to Your Graph (TTYG)

TTYG is a Python module that enables Natural Language Querying (NLQ) using GraphDB and LangChain Agents. It includes a lightweight GraphDB client and a collection of tools designed for integration with large language model (LLM) agents.

License

Apache-2.0 License. See LICENSE file for details.

Installation

pip install ttyg

Maintainers

Developed and maintained by Graphwise. For issues or feature requests, please open a GitHub issue.

Usage

A sample usage is provided in the Jupyter Notebook, which demonstrates natural language querying using the Star Wars dataset.

Run Jupyter Notebook

Prerequisites

  • Install conda. miniconda will suffice.
  • Install Docker. The documentation is created using Docker version 28.3.3 which bundles Docker Compose. For earlier Docker versions you may need to install Docker Compose separately.

Create and activate the Conda environment

conda create --name ttyg --file conda-linux-64.lock
conda activate ttyg

Install dependencies with Poetry

Depending on the LLM provider you want to use, run one of the following:

poetry install --with llm-openai --with jupyter
# or
poetry install --with llm-anthropic --with jupyter

Run the Notebook

jupyter notebook

Metadata

Release files for ttyg 4.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ttyg 4.3.0
File Size Uploaded
ttyg-4.3.0.tar.gz 17.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ttyg 4.3.0
File Interpreter ABI Platform
ttyg-4.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 44.3 kB

Release files / ttyg-4.3.0.tar.gz

Download URL ttyg-4.3.0.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
035a456c19c74c5b88eb511f5eadf687f5b5579dc67fca21225171b8c9716a93
BLAKE2b-256 checksum
How to use checksums
e1414f043f93f507336901467a4f6b421cf968e958c0596cc61bf05e60f6fdf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.16 Linux/6.17.0-1022-azure

Release files / ttyg-4.3.0-py3-none-any.whl

Download URL ttyg-4.3.0-py3-none-any.whl
Size 26.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28aec70818b65b244dc420498681b15c9cca85e20de79f910e1b7c31656df01a
BLAKE2b-256 checksum
How to use checksums
ec5a55b286be4f27aef244fd6ff5c9b8ee8014808022caae17fdd353e924b8cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.16 Linux/6.17.0-1022-azure

Release history Release notifications | RSS feed

This release

4.3.0 This release

2 release files

4.2.1

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.2.0

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.9.3

2 release files

1.9.2

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.2

2 release files

1.8.1

2 release files

1.8.0

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page