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.2.1

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.2.1
File Size Uploaded
ttyg-4.2.1.tar.gz 17.2 kB Details

Built distribution (wheel)

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

Total release size: 43.7 kB

Release files / ttyg-4.2.1.tar.gz

Download URL ttyg-4.2.1.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4d164aa83090aff38e83ed125925521d16d90fc5931544064fc08b6eafd0c311
BLAKE2b-256 checksum
How to use checksums
132b55e2e83c2981ea14af4ac84514ee518727f2efde5270e1ac03ef4703b181
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.13 Linux/6.17.0-1011-azure

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

Download URL ttyg-4.2.1-py3-none-any.whl
Size 26.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c588981025c494673b88e6cf3dcbca36b09df50abb47f5e25e9549505afbd56
BLAKE2b-256 checksum
How to use checksums
01a0096866a202352e894dca90215eec8e611ec67414cbdc280293e02f6d7632
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.13 Linux/6.17.0-1011-azure

Release history Release notifications | RSS feed

This release

4.2.1 This release

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