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

Built distribution (wheel)

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

Total release size: 44.3 kB

Release files / ttyg-4.4.1.tar.gz

Download URL ttyg-4.4.1.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1ae14905d37ca82e81d1cb0e1c2139a0d9415cc86b8a680c75c379041b391f37
BLAKE2b-256 checksum
How to use checksums
e4261316c0b07de3b4992032d0bd1c792ad0087d87ad805a2ef85db1773e97bb
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.1-py3-none-any.whl

Download URL ttyg-4.4.1-py3-none-any.whl
Size 26.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1292285411a3e5499b2d99f215f618beafac7dc59a5e7ea4feb82b2638e50010
BLAKE2b-256 checksum
How to use checksums
c0a70db9eb8ae46e8979bde0569e6e9db5b963c035bdc6f542c8e7c8f401e92a
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.1

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