Add Custom Metadata to a Knowledge Base

Define custom metadata fields for more precise document searches and filtering in a knowledge base. Metadata fields can include text, numeric, boolean, and date values.

Prerequisites

Add a Knowledge Base

Add custom metadata to a knowledge base

  1. Open the knowledge base.
  2. In the header, select the Actions menu Actions icon and select Edit info.
  3. In the Edit knowledge base panel, scroll to Custom metadata.
  4. Select Add.

    A new row appears.

  5. Enter a metadata field name and choose its data type.
  6. Add a row for every field you need.
  7. Select Update.
Next time you upload or ingest documents, provide metadata that uses these exact field names and compatible values.

Next step

You can now add documents into the knowledge base. Manually add them or upload them from OCI Object Storage. See: