> For the complete documentation index, see [llms.txt](https://academy.shade.inc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.shade.inc/shade-academy/shade-academy-zh/ai-gong-ju/custom-and-automated-metadata.md).

# 元数据和自定义字段

你的资产元数据可在左侧边栏中你资料库下的“资料库设置”标签内创建。元数据字段的创建与主工作区视图分离，旨在鼓励在创建元数据属性时有明确的意图。你添加到资料库中的元数据属性可以手动填充，也可以使用 AI 填充。

{% embed url="<https://youtu.be/uc0X6Vo0n68?si=lQgzSuYr5HpPnytB>" %}

{% embed url="<https://youtu.be/0rtoXWB9Ty4?si=zU23BruKhDbZTEv6>" %}

## 创建第一个元数据属性

要创建元数据属性：

* 添加字段名称
* 选择元数据类型：文本、单选、标签、小数、整数、复选框、日期、评分或关联。关联字段会将一个资产链接到资料库中的其他资产、人员或任何自定义对象类型。
* 选择要将此属性应用到哪些类型的资产（默认适用于全部）

要创建自动化（AI）元数据属性：

* 切换 **使用 AI 自动填充** 字段（日期或关联字段不可用）
* 输入一段描述性提示词。AI 自动填充目前仅支持图片和视频。
* 对于单选和多选字段，你可以开启 **使用 AI 生成新选项** 以便让 AI 添加尚不存在的选项

优秀 AI 提示词示例：

“识别此视频画面中可见的所有球衣号码”

“判断哪一种镜头类型最适合该视频或图片”

“选择最适合该图片或视频的标签。如果没有可用标签，请创建一个。标签应为 1-2 个词，用于描述视频中的某个具体对象”

## 从视图创建元数据

也可以在列表视图中创建元数据属性。这是资料库中所有资产的电子表格式概览，你可以为资料库中的每个元数据属性添加列。

<figure><img src="https://450378260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUNq6h2Bfw7aAK0J2ffnZ%2Fuploads%2FozjEXHzBJFXbsyLQlKuD%2FCustomMetadata.gif?alt=media&#x26;token=5589a91a-fcfe-4cbc-bef4-dd335097084d" alt=""><figcaption></figcaption></figure>

如果你的资产具有关联字段， **添加列** 菜单还会列出链接对象中的字段。选择一个即可添加一个 **查找** 列，在每个资产旁显示该链接字段。

## 编辑现有元数据

更新你现有元数据属性的各项内容，将其归档，或彻底删除。

在网页或桌面应用中，进入“设置”> 向下滚动到左侧的资料库 > 展开所需资料库可用的选项 > 点击 **元数据**

对于任何自定义元数据属性，你会注意到以下选项：

### 编辑

* **字段名称 -** 你的元数据属性名称
* **选项** （如果是标签或单选字段类型）
* **使用 AI 自动填充** （日期或关联字段不可用）
* **AI 提示词** （如果已启用使用 AI 自动填充）
* **使用 AI 生成新选项** （如果在标签或单选字段类型上启用了使用 AI 自动填充）
* **你想重新运行并覆盖所有单元格吗？** （如果已启用使用 AI 自动填充）- 会重新运行该字段的 AI，并替换其现有值
* **描述 -** 关于该字段、其预期用途或在你的整体工作流程中的目的的描述
* **锁定元数据编辑 -** 锁定后，只有资料库管理员及以上级别的用户才能编辑该元数据字段的值

### 归档

会使该字段无法在资料库中使用和显示，但不会直接删除该字段及其所有值。该字段仍会保留在你的资料库元数据库中，如有需要，可稍后重新启用。

### 删除

会永久删除资料库中的该元数据属性及其所有值，且无法撤销。

## 创建你的第一个视图

你可以通过点击“视图”选项卡旁边的 + 来创建新视图。为视图命名并选择图标后，你将进入该视图页面。点击新列上的 +，开始添加元数据属性。你可以选择现有元数据属性，或创建新属性。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.shade.inc/shade-academy/shade-academy-zh/ai-gong-ju/custom-and-automated-metadata.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
