> For the complete documentation index, see [llms.txt](https://docs.maiagent.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maiagent.ai/tech/ja/updates/knowledge-base-metadata-enhancement.md).

# ナレッジベースのファイル作成と Metadata 処理の最適化

## 概要

今回のアップデートでは、ナレッジベースのファイル作成フローと metadata 処理を強化し、システムの安定性とデータの完全性を向上させました。

## アップデート内容

### ファイル作成フローの最適化

ナレッジベースにファイルをアップロードする際、システムは次の処理を行うようになりました。

1. **エラー処理の強化**：ファイルのアップロード中に発生するエラーを捕捉する仕組みを改善しました
2. **Metadata 処理の最適化**：ファイルの metadata 情報が正しく保存・受け渡しされるようにしました
3. **ファイル検証の改善**：ファイル形式と内容の検証機能を強化しました

### 技術的な詳細

関連する変更は、ユーザー認証サービス、企業 ID 連携（EIP）、SSO 連携、イベント処理などのモジュールに及びます。これらの改善により、ユーザー認証と権限管理を行いながら、ナレッジベースのファイル作成と metadata を正しく処理できるようになりました。

## ユーザーへの影響

今回のアップデートにより、ユーザーには次のメリットがあります。

* **より安定したファイルアップロード体験**
* **より正確なファイル metadata 情報**
* **ファイル処理エラーの減少**

{% hint style="info" %}
ナレッジベースの詳しい利用方法については、[ナレッジベース概要](https://docs.maiagent.ai/km/km)をご参照ください。
{% endhint %}

## ⚠️ 人による確認が必要な項目

以下の機能はフロントエンドの検証に失敗したため、人による確認をお願いします。

* **ファイルアップロード画面の変更**：アップロードボタンやフローに視覚的または操作上の変更があるか確認する必要があります
  * 失敗理由：システムにログインできず、フロントエンドの検証を実施できませんでした
* **Metadata 項目の表示**：ファイルの metadata 情報が画面上でどのように表示されるか確認する必要があります
  * 失敗理由：システムにログインできず、フロントエンドの検証を実施できませんでした
* **エラーメッセージ**：新しいエラー処理の仕組みに対応するユーザー向けメッセージが表示されるか検証する必要があります
  * 失敗理由：システムにログインできず、フロントエンドの検証を実施できませんでした

## 関連リソース

* [ナレッジベースの基本設定](https://docs.maiagent.ai/km/km-basic-settings)
* [タグと Metadata](https://docs.maiagent.ai/km/tags-and-metadata)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.maiagent.ai/tech/ja/updates/knowledge-base-metadata-enhancement.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
