Causal Inference with Generative Artificial Intelligence: Application to Texts as Treatments* | Synapse