Update docs for interactive cli
This commit is contained in:
parent
08349e5c0e
commit
3ec17c65e1
2 changed files with 17 additions and 0 deletions
|
|
@ -207,6 +207,9 @@ Interactive mode provides human-in-the-loop control over the research process th
|
||||||
# Start interactive research mode
|
# Start interactive research mode
|
||||||
haiku-rag research --interactive
|
haiku-rag research --interactive
|
||||||
|
|
||||||
|
# Start with a specific question
|
||||||
|
haiku-rag research --interactive "How does X work?"
|
||||||
|
|
||||||
# With document filter
|
# With document filter
|
||||||
haiku-rag research --interactive --filter "uri LIKE '%report%'"
|
haiku-rag research --interactive --filter "uri LIKE '%report%'"
|
||||||
```
|
```
|
||||||
|
|
|
||||||
14
docs/cli.md
14
docs/cli.md
|
|
@ -183,10 +183,24 @@ Filter to specific documents:
|
||||||
haiku-rag research "What are the key findings?" --filter "uri LIKE '%paper%'"
|
haiku-rag research "What are the key findings?" --filter "uri LIKE '%paper%'"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Interactive mode with human-in-the-loop:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Start interactive research mode
|
||||||
|
haiku-rag research --interactive
|
||||||
|
|
||||||
|
# Start with a specific question
|
||||||
|
haiku-rag research --interactive "How does haiku.rag work?"
|
||||||
|
|
||||||
|
# With document filter
|
||||||
|
haiku-rag research --interactive --filter "uri LIKE '%docs%'"
|
||||||
|
```
|
||||||
|
|
||||||
Flags:
|
Flags:
|
||||||
|
|
||||||
- `--verbose`: Show planning, searching previews, evaluation summary, and stop reason
|
- `--verbose`: Show planning, searching previews, evaluation summary, and stop reason
|
||||||
- `--filter`: SQL WHERE clause to filter documents (see [Filtering Search Results](python.md#filtering-search-results))
|
- `--filter`: SQL WHERE clause to filter documents (see [Filtering Search Results](python.md#filtering-search-results))
|
||||||
|
- `--interactive` / `-i`: Start interactive research mode with human-in-the-loop decision points
|
||||||
|
|
||||||
Research parameters like `max_iterations`, `confidence_threshold`, and `max_concurrency` are configured in your [configuration file](configuration/index.md) under the `research` section.
|
Research parameters like `max_iterations`, `confidence_threshold`, and `max_concurrency` are configured in your [configuration file](configuration/index.md) under the `research` section.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue