A newer version of the Gradio SDK is available:
5.23.1
Indexing Engine Examples
This directory contains several examples of how to use the indexing engine.
Most examples include two different forms of running the pipeline, both are contained in the examples run.py
- Using mostly the Python API
- Using mostly the a pipeline configuration file
Running an Example
First run poetry shell
to activate a virtual environment with the required dependencies.
Then run PYTHONPATH="$(pwd)" python examples/path_to_example/run.py
from the python/graphrag
directory.
For example to run the single_verb example, you would run the following commands:
cd python/graphrag
poetry shell
PYTHONPATH="$(pwd)" python examples/single_verb/run.py