Update docs for interactive cli

This commit is contained in:
Yiorgis Gozadinos 2025-12-17 17:58:03 +02:00
parent 08349e5c0e
commit 3ec17c65e1
No known key found for this signature in database
2 changed files with 17 additions and 0 deletions

View file

@ -207,6 +207,9 @@ Interactive mode provides human-in-the-loop control over the research process th
# Start interactive research mode
haiku-rag research --interactive
# Start with a specific question
haiku-rag research --interactive "How does X work?"
# With document filter
haiku-rag research --interactive --filter "uri LIKE '%report%'"
```

View file

@ -183,10 +183,24 @@ Filter to specific documents:
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:
- `--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))
- `--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.