Skip to content

Commit

Permalink
Merge branch 'dorbaker/multi-index-query' of github.com:microsoft/gra…
Browse files Browse the repository at this point in the history
…phrag into dorbaker/multi-index-query
  • Loading branch information
KennyZhang1 committed Jan 27, 2025
2 parents bc3c9f1 + 8e1c0c2 commit b46dfc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/prompt_tuning/auto_prompt_tuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
```

Expand Down

0 comments on commit b46dfc1

Please sign in to comment.