How to Tag Knowledge Bases Public Preview

DigitalOcean GenAI Platform lets you build GPU-powered AI agents with fully-managed deployment. Agents can use pre-built or custom foundation models, incorporate function and agent routes, and implement RAG pipelines with knowledge bases.


Tags are custom labels you can apply to knowledge bases and other DigitalOcean resources. You can organize knowledge bases knowledge bases with tags to group and filter them.

Choosing terms that describe a knowledge base’s function can help you locate and administer knowledge bases that share common roles. For example, you might tag a knowledge base by:

  • Environment, like production, staging or development.
  • Purpose, like a project name or any other key term that describes the use of the knowledge base.
  • Person, like the individual or team responsible for managing the knowledge base.

You can add tags to knowledge bases during or after creation.

Limits

  • Tags must be a single word containing only letters, numbers, colons, dashes, and underscores.

Known Issues

  • You cannot edit existing tags. Instead, create a new tag, apply it to the appropriate resources, and delete the old one.
  • Tag names are case stable, which means the capitalization you use when you first create a tag is canonical.
    • Tagged resources in the control panel always displays the canonical capitalization. For example, if you create a tag named PROD, you can tag resources in the control panel by entering prod. The tag still displays with its canonical capitalization, PROD.
    • When working with tags in the API, you must use the tag’s canonical capitalization. For example, if you create a tag named PROD, the URL to add that tag to a resource would be https://api.digitalocean.com/v2/tags/PROD/resources (not /v2/tags/prod/resources).

Tag Knowledge Bases During Creation

To add tags while creating a new knowledge base, at the bottom of the knowledge base create page, look for the Finalize and create section and click the Add Tags link to display the tag input form.

Under the Add optional tags to your knowledge base header, enter the tags. Add multiple tags by pressing SPACEBAR or ENTER after each term. Navigate between tags with the arrow keys, and remove the highlighted tag with BACKSPACE.

Tag Existing Knowledge Bases

To add or modify tags for existing knowledge bases, use the knowledge base’s More menu and select Edit tags.

On a project’s dashboard, you can also hover over an untagged knowledge base’s row of information to reveal the Add tags link.

No matter which way you navigate, the Manage Tags dialog opens.

Add tags by pressing SPACEBAR or ENTER after each term. Navigate between tags with the arrow keys, and remove the highlighted tag with BACKSPACE.

When you’re done, click Save Tags.

Filter by Tag

If you click a tag from anywhere in the control panel, like on the dashboard of a project or on the list of knowledge bases, you go to the list of all resources with that tag.

Filter lists are limited to a single tag, displayed at the top of the list.

In this article...