> ## Documentation Index
> Fetch the complete documentation index at: https://ai-kb.automationanywhere.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 設定

> ナレッジ ベースがドキュメントを処理および埋め込む方法を構成します。

**ナレッジベース設定** タブでは、ドキュメントの処理方法とチャンク化方法を構成できます。これらの設定は、エージェントによるコンテンツのチャンク化、埋め込み、取得の方法に影響します。

## チャンク戦略

ドキュメントを処理のためにチャンクに分割する方法を選択します。

\| Strategy | Description **PLACEHOLDER\_4** **Sentence Chunking** | Uses a sentence tokenizer for natural language boundaries. Best for general-purpose content where preserving sentence context is important. **PLACEHOLDER\_5** **Semantic Chunking** | Automatically determines chunk boundaries based on semantic meaning. Best for complex or technical documents where semantic context is more important than sentence structure. |

## チャンク構成

文ベースのチャンク化のチャンク サイズとオーバーラップを構成します。このセクションは、**センテンス チャンキング** が選択されている場合に適用されます。

\| Setting | Default | Recommendation | Description **PLACEHOLDER\_6** **Chunk Size** | 64 | 64–512 tokens | The maximum size of each chunk. Larger chunks preserve more context but may reduce retrieval precision. Smaller chunks are more precise but may lose context. **PLACEHOLDER\_7** **Chunk Overlap** | 6 | 10–20% of chunk size | The number of overlapping tokens between adjacent chunks. Helps maintain context across chunk boundaries. Must be non-negative and less than chunk size. |

## チャンク拡張設定

コンテンツ処理を向上させるために、チャンク エンリッチメントと LLM モデルの選択を構成します。

\| Setting | Description **PLACEHOLDER\_8** **Chunk Enrichment** | When enabled, uses AI to enhance chunks with additional context for better retrieval accuracy. **PLACEHOLDER\_9** **LLM Model** | Select the LLM model to use for chunk enrichment. Required when Chunk Enrichment is enabled. |

<Note>
  If no Chunk Enrichment models are configured in Super Admin, the default model will be used automatically.
</Note>

<Tip>
  Chunk enrichment improves search quality but increases processing time and computational cost. Enable it for complex content where simple chunking isn't sufficient.
</Tip>

## 危険ゾーン

<Warning>
  The actions in this section are irreversible. Proceed with caution.
</Warning>

**すべてのナレッジ ベースを削除** — すべてのドキュメント、チャンク、埋め込みをナレッジ ベースから完全に削除します。この操作は元に戻すことができません。

## 設定の保存と適用

\| Action | Description **PLACEHOLDER\_10** **Save Settings** | Saves your configuration. Applies only to new documents added or synced going forward. **PLACEHOLDER\_11** **Reset** | Resets the form to the last saved configuration. **PLACEHOLDER\_12** **Apply to All Documents** | Re-indexes all existing documents in your knowledge base with the current settings. Use this after saving to apply changes to previously uploaded content. |

<Warning>
  Applying settings to all documents can take significant time depending on the number of documents in your knowledge base. This process cannot be cancelled once started.
</Warning>

## ベストプラクティス

### チャンク戦略

* \*\*ほとんどのユースケースでは、**文のチャンク化から始めます**。
* 文の境界が意味のある内容の分割と一致しない複雑な文書または技術的な文書の場合は、**セマンティック チャンキング**に切り替えます。

### チャンクサイズ

* ベースラインとしてデフォルト (64) から開始します。
* チャンクごとにより多くのコンテキストを必要とするコンテンツの場合は増加します。
* コンテキストよりも正確で的を絞った検索が重要な場合は減少します。

### チャンクの重複

* オーバーラップをチャンク サイズの 10 ～ 20% に保ちます。
* 重要な情報がチャンクの境界にまたがる可能性がある場合は、重複を増やします。

### チャンクの強化

* 検索品質の向上が必要な複雑なコンテンツに対して有効にします。
* 最良の結果を得るには、強力な推論機能を備えたモデルを選択してください。
* 有効化後の処理時間を監視します - エンリッチメントにより計算コストが追加されます。
