From 053bf60162793aebc533cc00e6b878ad301b3853 Mon Sep 17 00:00:00 2001 From: Shamik <39588365+Shamik-07@users.noreply.github.com> Date: Tue, 28 Jan 2025 01:03:25 +0530 Subject: [PATCH] Update auto_prompt_tuning.md (#1659) Updated the auto prompt tuning doc with `--selection-method` instead of only `--method` as per the latest API. Co-authored-by: Alonso Guevara --- docs/prompt_tuning/auto_prompt_tuning.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/prompt_tuning/auto_prompt_tuning.md b/docs/prompt_tuning/auto_prompt_tuning.md index c371f8fe..9b6e909b 100644 --- a/docs/prompt_tuning/auto_prompt_tuning.md +++ b/docs/prompt_tuning/auto_prompt_tuning.md @@ -33,7 +33,7 @@ graphrag prompt-tune [--root ROOT] [--config CONFIG] [--domain DOMAIN] [--selec - `--domain` (optional): The domain related to your input data, such as 'space science', 'microbiology', or 'environmental news'. If left empty, the domain will be inferred from the input data. -- `--method` (optional): The method to select documents. Options are all, random, auto or top. Default is random. +- `--selection-method` (optional): The method to select documents. Options are all, random, auto or top. Default is random. - `--limit` (optional): The limit of text units to load when using random or top selection. Default is 15. @@ -57,7 +57,7 @@ graphrag prompt-tune [--root ROOT] [--config CONFIG] [--domain DOMAIN] [--selec ```bash python -m graphrag prompt-tune --root /path/to/project --config /path/to/settings.yaml --domain "environmental news" \ ---method random --limit 10 --language English --max-tokens 2048 --chunk-size 256 --min-examples-required 3 \ +--selection-method random --limit 10 --language English --max-tokens 2048 --chunk-size 256 --min-examples-required 3 \ --no-entity-types --output /path/to/output ```