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.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.4.0
File Size Uploaded Provenance Actions
ttyg-4.4.0.tar.gz 17.4 kB Without provenance Details for ttyg-4.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 44.3 kB

Release files / ttyg-4.4.0.tar.gz

Download URL ttyg-4.4.0.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
59735b6eef2665a0c9e740b295d1581bff72c902faea1eb50b9c6d9d8baa0f70
BLAKE2b-256 checksum
How to use checksums
317120d04956fe2fd7d402537e4b4ff55866e589f01d8360511e6bc4e9f1f239
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.4 CPython/3.13.16 Linux/7.0.0-1017-azure

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

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

Security for ttyg 4.4.0

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