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.
minicondawill suffice. - Install Docker. The documentation is created using Docker version
28.3.3which 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)
| File | Size | Uploaded | |
|---|---|---|---|
| ttyg-4.2.1.tar.gz | 17.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|