Remove docs references to env vars
This commit is contained in:
parent
747ffb3212
commit
9f3eb1b79c
3 changed files with 13 additions and 7 deletions
|
|
@ -222,6 +222,6 @@ answer = await client.ask(
|
||||||
|
|
||||||
The QA agent will search your documents for relevant information and use the configured LLM to generate a comprehensive answer. With `cite=True`, responses include citations showing which documents were used as sources. Citations prefer the document title when present, otherwise they use the URI.
|
The QA agent will search your documents for relevant information and use the configured LLM to generate a comprehensive answer. With `cite=True`, responses include citations showing which documents were used as sources. Citations prefer the document title when present, otherwise they use the URI.
|
||||||
|
|
||||||
The QA provider and model can be configured via environment variables (see [Configuration](configuration.md)).
|
The QA provider and model are configured in `haiku.rag.yaml` or can be passed directly to the client (see [Configuration](configuration.md)).
|
||||||
|
|
||||||
See also: [Agents](agents.md) for details on the QA agent and the multi‑agent research workflow.
|
See also: [Agents](agents.md) for details on the QA agent and the multi‑agent research workflow.
|
||||||
|
|
|
||||||
|
|
@ -45,11 +45,19 @@ This will start file monitoring, MCP server on port 8001, and A2A server on port
|
||||||
|
|
||||||
## File Monitoring
|
## File Monitoring
|
||||||
|
|
||||||
Set `MONITOR_DIRECTORIES` environment variable to enable automatic file monitoring:
|
Configure directories to monitor in your `haiku.rag.yaml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
storage:
|
||||||
|
monitor_directories:
|
||||||
|
- /path/to/documents
|
||||||
|
- /another/path
|
||||||
|
```
|
||||||
|
|
||||||
|
Then start the server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export MONITOR_DIRECTORIES="/path/to/documents"
|
haiku-rag serve --monitor
|
||||||
haiku-rag serve
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Monitoring Features
|
### Monitoring Features
|
||||||
|
|
|
||||||
|
|
@ -225,6 +225,4 @@ rm -rf "/Users/moo/Library/Application Support/haiku.rag/haiku.rag.lancedb"
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
See [Configuration page](./configuration.md) for more information about configuration
|
See [Configuration page](./configuration.md) for complete documentation on YAML configuration and all available options.
|
||||||
|
|
||||||
For the available environment variable config options see [config.py](https://github.com/ggozad/haiku.rag/blob/main/src/haiku/rag/config.py).
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue