@regexp vs @trigram

This was confusing for me. The docs mention trigram a lot, but couldn’t figure out how to set it up in graphql schema.