load_skill()

Load a skill from an arbitrary YAML file.

Usage

Source

load_skill(path)

Parameters

path: str | Path
Path to a skill YAML file.

Returns

SkillDefinition
The parsed skill definition.

Raises

FileNotFoundError
If the file doesn’t exist.

Examples

import talk_box as tb

skill = tb.load_skill("my_skills/summarizer.yaml")