How to customize tags

I have a Gatsby food blog that currently has an array of tags used for filtering. But I need to break up the tags into categories based on custom attributes; how do I manually do this?

Hi! Could you please provide more explanations about what you’re willing to achieve?
In any case, this documentation about tag filtering with Algolia might be helpful: Filter By Tags | How to | Managing Results | Guide | Algolia Documentation

Looking forward to hear from you!