We have independent DiffractGPT models for all these scenarios. Based on the provided information, we can convert the XRD pattern to strings followed by tokenization, after which one or more pre-trained DiffractGPT models can be applied to generate potential crystal structures. Note that transformer architectures allow for fast sampling, which can also be used to generate multiple options for the crystal structure if necessary.