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

# Classic Knowledge Base

> Set up chunking, indexing, and search yourself, design your own processing, or connect an external knowledge base you already run

A classic knowledge base is one where you decide how your content is chunked, indexed, and searched. It can also connect to a knowledge base you already run, which Dify searches without copying the content in.

Every kind of Dify app can answer from it.

> [!TIP]
>
> * To weigh it against the agent knowledge base, see [which kind to create](https://docs.dify.ai/en/cloud/use-dify/knowledge/overview.md#choose).
>
> * A ready-to-use classic knowledge base can be [upgraded](https://docs.dify.ai/en/cloud/use-dify/knowledge-base/upgrade-from-classic.md) to an agent knowledge base. External knowledge bases and ones built as a Knowledge Pipeline can't.

## Set Up

* **[Create a ready-to-use knowledge base](https://docs.dify.ai/en/cloud/use-dify/knowledge/create-knowledge/introduction.md)**: Import data, then set how it's chunked, indexed, and searched.

* **[Build a custom knowledge base](https://docs.dify.ai/en/cloud/use-dify/knowledge/knowledge-pipeline/readme.md)**: Design your own processing as a Knowledge Pipeline when the standard settings don't fit your content, choosing the data sources and each step that extracts, chunks, and indexes it.

* **[Connect to an external knowledge base](https://docs.dify.ai/en/cloud/use-dify/knowledge/connect-external-knowledge-base.md)**: Search a knowledge base you already run through its API, without moving the content into Dify.

## Test and Improve

* **[Test and validate retrieval](https://docs.dify.ai/en/cloud/use-dify/knowledge/test-retrieval.md)**: Try what your users will ask and see which chunks come back.

* **[Adjust knowledge base settings](https://docs.dify.ai/en/cloud/use-dify/knowledge/manage-knowledge/introduction.md)**: Change the embedding model and search settings, or switch the index method from Economical to High Quality.

* **[Enhance retrieval with metadata](https://docs.dify.ai/en/cloud/use-dify/knowledge/metadata.md)**: Label documents so searches can be narrowed to the ones that match.

## Use and Maintain

* **[Integrate into applications](https://docs.dify.ai/en/cloud/use-dify/knowledge/integrate-knowledge-within-application.md)**: Connect it to your apps and set how they retrieve from it.

* **[Manage content](https://docs.dify.ai/en/cloud/use-dify/knowledge/manage-knowledge/maintain-knowledge-documents.md)**: Add, edit, disable, or delete documents and chunks as your content changes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.