Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs-website/reference/haystack-api/skill_stores_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ are read lazily when the agent calls the corresponding tool.
#### __init__

```python
__init__(skills_dir: str | Path) -> None
__init__(skills_dir: str | Path | Secret) -> None
```

Initialize the store with the root directory to scan.
Expand All @@ -37,7 +37,9 @@ can be constructed cheaply.

**Parameters:**

- **skills_dir** (<code>str | Path</code>) – Root directory that contains one sub-directory per skill.
- **skills_dir** (<code>str | Path | Secret</code>) – Root directory that contains one sub-directory per skill. Can also be a `Secret`
(e.g. `Secret.from_env_var("SKILLS_DIR")`) to source the path from an environment variable rather than
hard-coding it.

#### warm_up

Expand Down