Tag generative ai architecture