It would be a different configuration in the API call , you should find the details here that you can then adapt to your code : Embed the Amazon Q in QuickSight Generative Q&A experience - Amazon QuickSight
If it’s gen-bi , then in the following regions : Amazon Q in QuickSight is available in US East (Virginia), US West (Oregon), and Europe (Frankfurt) AWS Regions at launch, with plans to expand to all current QuickSight Q Regions.