microsoft / azurechat

🤖 💼 Azure Chat Solution Accelerator powered by Azure Open AI Service
MIT License
1.14k stars 954 forks source link

Including DALL-E v3 means I can't deploy this version (data sovereignty) #318

Closed emdeh closed 3 months ago

emdeh commented 4 months ago

Is there a way we can turn off the DALL-E v3 feature? I don't need that feature, but I can't deploy the solution at all because my resources must remain in Australia.

bwitzig-zen commented 4 months ago

You should be able to comment out the code that enables that feature. I'll let you know if I find anything.

emdeh commented 4 months ago

I managed to comment it out and deploy it successfully.

Perhaps a future enhancement could be the option to turn off certain functionality before deployment. This way, if an organisation's governance landscape limits its tools because of what a particular feature does (or where it can be deployed), it can still use the other components safely.

cmvanderhaar commented 3 months ago

@emdeh can you let me know what code to comment please

emdeh commented 3 months ago

@cmvanderhaar, Check out the test-deployment branch on my forked repo. I deployed that branch and it worked. It's a little behind the upstream now, but should give you an idea of what you need to change.

cmvanderhaar commented 3 months ago

@emdeh thank you so much for coming back to me I really appreciate it and will check it out

cmvanderhaar commented 2 months ago

Hi @emdeh please if you can help with this I DO NOT want it to create images and get rid of this can you help been on this for days now

image

emdeh commented 2 months ago

Hi @cmvanderhaar, I've moved on from this project, so it isn't fresh in my mind but you can see an example of how I commented out the DALL-E feature in the main.bicep file of my test-deployment branch in the my forked repo.

I don't recall if there were other changes, but you can review the test-deployment branch against main branch to see what other modifications I made.

Note that my fork is a bit behind the upstream now. Also, the changes I made didn't modify the frontend UI - but this wasn't my main concern. I just couldn't deploy resources to non-Australian regions, and my changes met that objective.

cmvanderhaar commented 2 months ago

HI @emdeh thanks again for all the help I appreciate it