类class
agentscope.skillSkill
@dataclass
class Skill
源码Source
agentscope/skill/_base.py:8–20智能体技能类。位于 agentscope.skill 包。
The agent skill class Declared in agentscope.skill.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
name | str | 名称字段。 | — |
description | str | `description` 字段。 | — |
dir | str | 目录字段。 | — |
markdown | str | `markdown` 字段。 | — |
updated_at | float | 已更新 at字段。 | — |
属性详情Attribute Detail
name
str名称字段。声明为 str。
The name field.
源码Source
agentscope/skill/_base.py:11description
strdescription 字段。声明为 str。
The description field.
源码Source
agentscope/skill/_base.py:13dir
str目录字段。声明为 str。
The dir field.
源码Source
agentscope/skill/_base.py:15markdown
strmarkdown 字段。声明为 str。
The markdown field.
源码Source
agentscope/skill/_base.py:17updated_at
float已更新 at字段。声明为 float。
The updated at field.
源码Source
agentscope/skill/_base.py:19