Skip to content

Commit 053bf60

Browse files
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 <[email protected]>
1 parent 6b33977 commit 053bf60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/prompt_tuning/auto_prompt_tuning.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ graphrag prompt-tune [--root ROOT] [--config CONFIG] [--domain DOMAIN] [--selec
3333

3434
- `--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.
3535

36-
- `--method` (optional): The method to select documents. Options are all, random, auto or top. Default is random.
36+
- `--selection-method` (optional): The method to select documents. Options are all, random, auto or top. Default is random.
3737

3838
- `--limit` (optional): The limit of text units to load when using random or top selection. Default is 15.
3939

@@ -57,7 +57,7 @@ graphrag prompt-tune [--root ROOT] [--config CONFIG] [--domain DOMAIN] [--selec
5757

5858
```bash
5959
python -m graphrag prompt-tune --root /path/to/project --config /path/to/settings.yaml --domain "environmental news" \
60-
--method random --limit 10 --language English --max-tokens 2048 --chunk-size 256 --min-examples-required 3 \
60+
--selection-method random --limit 10 --language English --max-tokens 2048 --chunk-size 256 --min-examples-required 3 \
6161
--no-entity-types --output /path/to/output
6262
```
6363

0 commit comments

Comments
 (0)