Skip to main content

Natural language querying for GraphDB using LangGraph agents

Project description

Graphwise Logo

Talk to Your Graph (TTYG)

TTYG is a Python module that enables Natural Language Querying (NLQ) using GraphDB and LangGraph 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
# or
poetry install --with llm-databricks --with jupyter

Run the Notebook

jupyter notebook

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ttyg-1.8.1.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ttyg-1.8.1-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file ttyg-1.8.1.tar.gz.

File metadata

  • Download URL: ttyg-1.8.1.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.7 Linux/6.11.0-1018-azure

File hashes

Hashes for ttyg-1.8.1.tar.gz
Algorithm Hash digest
SHA256 a1b629fbf9e210ebb4c7e521bf83edc739063e908012568caaa17173714b5f25
MD5 bc373c51930fa02197d9bd79bef728a7
BLAKE2b-256 80317a2a34dc482f0df394f2db0d77f074906ccbaceecb3c22dae3a5ecec0b91

See more details on using hashes here.

File details

Details for the file ttyg-1.8.1-py3-none-any.whl.

File metadata

  • Download URL: ttyg-1.8.1-py3-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.7 Linux/6.11.0-1018-azure

File hashes

Hashes for ttyg-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 450d43e6df32178da9cbc642ad97ad3e5c97aac02169a887de6f71debb5ece39
MD5 0bbaa75cd71df112bfad1c46e586c0e4
BLAKE2b-256 94b07200aaf97c0eddba42401cf89cf4c175872cd81da0e2cc92d4333af5ac72

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page