graphrag/examples
JunHo Kim (김준호) 7b8f5ba51f
Correct links to datashaper verbs in comments (#1068)
Correct links to verbs in comments

Updated the links in comments to reflect new paths for 'derive' and 'aggregate' verbs. This improves documentation and ensures that references are up to date for future developers.

Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
2024-09-12 12:44:38 -06:00
..
custom_input Initial Release 2024-07-01 15:25:30 -06:00
custom_set_of_available_verbs Initial Release 2024-07-01 15:25:30 -06:00
custom_set_of_available_workflows Initial Release 2024-07-01 15:25:30 -06:00
entity_extraction Initial Release 2024-07-01 15:25:30 -06:00
interdependent_workflows Correct links to datashaper verbs in comments (#1068) 2024-09-12 12:44:38 -06:00
multiple_workflows Initial Release 2024-07-01 15:25:30 -06:00
single_verb Correct links to datashaper verbs in comments (#1068) 2024-09-12 12:44:38 -06:00
use_built_in_workflows Initial Release 2024-07-01 15:25:30 -06:00
various_levels_of_configs Initial Release 2024-07-01 15:25:30 -06:00
__init__.py Initial Release 2024-07-01 15:25:30 -06:00
README.md Initial Release 2024-07-01 15:25:30 -06:00

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

  1. Using mostly the Python API
  2. 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