> 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/maiagent-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/maiagent-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.
