diff --git a/data/operation_dulce/dataset.zip b/data/operation_dulce/dataset.zip index 039418a0..e25b1d4c 100644 Binary files a/data/operation_dulce/dataset.zip and b/data/operation_dulce/dataset.zip differ diff --git a/posts/prompt_tuning/auto_prompt_tuning/index.html b/posts/prompt_tuning/auto_prompt_tuning/index.html index 777847bd..e713daa0 100644 --- a/posts/prompt_tuning/auto_prompt_tuning/index.html +++ b/posts/prompt_tuning/auto_prompt_tuning/index.html @@ -289,7 +289,7 @@ a {

Prompt Tuning ⚙️

-

GraphRAG provides the ability to create domain adaptive templates for the generation of the knowledge graph. This step is optional, though it is highly encouraged to run it as it will yield better results when executing an Index Run.

+

GraphRAG provides the ability to create domain adaptive templates for the generation of the knowledge graph. This step is optional, though is is highly encouraged to run it as it will yield better results when executing an Index Run.

The templates are generated by loading the inputs, splitting them into chunks (text units) and then running a series of LLM invocations and template substitutions to generate the final prompts. We suggest using the default values provided by the script, but in this page you'll find the detail of each in case you want to further explore and tweak the template generation algorithm.

Prerequisites

Before running the automatic template generation make sure you have already initialized your workspace with the graphrag.index --init command. This will create the necessary configuration files and the default prompts. Refer to the Init Documentation for more information about the initialization process.

@@ -297,7 +297,7 @@ a {

You can run the main script from the command line with various options:

-
python -m graphrag.prompt_tune [--root ROOT] [--domain DOMAIN]  [--method METHOD] [--limit LIMIT] [--max-tokens MAX_TOKENS] [--chunk-size CHUNK_SIZE] [--no-entity-types] [--output OUTPUT]
+
python -m graphrag.prompt_tune [--root ROOT] [--domain DOMAIN]  [--method METHOD] [--limit LIMIT] [--language LANGUAGE] [--max-tokens MAX_TOKENS] [--chunk-size CHUNK_SIZE] [--no-entity-types] [--output OUTPUT]

or, with minimal configuration (suggested):

-
python -m graphrag.prompt_tune --root /path/to/project --no-entity-types
+
python -m graphrag.prompt_tune --root /path/to/project --no-entity-types
-