The structure uses a hash function to map the value to a key, and then uses the key to access the corresponding value in the trie. The hash function ensures that the mapping is unique and efficient, so that the key can be found quickly.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence