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

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.4.2
File Size Uploaded Provenance Actions
ttyg-4.4.2.tar.gz 17.3 kB Without provenance Details for ttyg-4.4.2.tar.gz

Built distribution (wheel)

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

Total release size: 44.2 kB

Release files / ttyg-4.4.2.tar.gz

Download URL ttyg-4.4.2.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8d1dd979ad6273d17e287a7280d1352110d4c607f51f7b083c28b09e4c733079
BLAKE2b-256 checksum
How to use checksums
cece3641d7a5502131cff5761bcfd49fdeae0a556ae6e91c4b02aeb5de3406f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.17 Linux/7.0.0-1017-azure

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

Download URL ttyg-4.4.2-py3-none-any.whl
Size 26.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7692d57f8ecda654e85649de67f0e016a5d91f78f5a14b1cb0d544a4e738fc71
BLAKE2b-256 checksum
How to use checksums
bf45473ddb6e95b38459b879ae11961b1e769be53610b5881862325c18ab142f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.17 Linux/7.0.0-1017-azure

Security for ttyg 4.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.4.2 This release

2 release files No provenance

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