Coverage for haystack/dataclasses/skill_info.py: 100%
3 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-21 13:53 +0000
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-21 13:53 +0000
1# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
2#
3# SPDX-License-Identifier: Apache-2.0
5from dataclasses import dataclass
8@dataclass
9class SkillInfo:
10 """
11 Lightweight metadata describing a skill.
13 This is what a `SkillStore` returns when listing its skills, keeping the catalog cheap; the full skill
14 content (the instructions body and bundled files) is fetched on demand.
16 :param name: The skill's name, used to look it up.
17 :param description: A short description of when to use the skill. Shown to the agent up front.
18 """
20 name: str
21 description: str