Share via

Modification of the Logo used in Web App Chatbot generated within Azure OpenAI Playground

VasilisK 71 Reputation points
Feb 23, 2024, 9:50 AM

I have created a chatbot using Azure OpenAI playground.

A web app has been deployed and I can use it as intended.

However, it is not clear how to change the "Contoso" logo of that default app.

The answers given in the following URLs, do not help (I am not familiar with Github):

Furthermore, Microsoft documentation does not provide instructions to personalize the site.

Finally, using a Bash console to this web app did not help me as those files are saved in a temporary storage and are lost after a service restart. Can anyone please provide the steps to achieve that?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,836 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,108 questions
{count} votes

4 answers

Sort by: Most helpful
  1. VasilisK 71 Reputation points
    Feb 27, 2024, 11:15 AM

    In case someone else faces the issue, it was solved making these steps:

    • Add the following variables (or whichever suits you):
      • UI_TITLE
      • UI_LOGO
      • UI_CHAT_TITLE
      • UI_CHAT_LOGO
      • UI_CHAT_DESCRIPTION
    • Using the Deployment center, sync to the most recent build
    • After the sync is done, restart the app.

    It seems there was an issue which was solved in the most recent version https://github.com/microsoft/sample-app-aoai-chatGPT/issues/618

    1 person found this answer helpful.
    0 comments No comments

  2. AshokPeddakotla-MSFT 35,941 Reputation points
    Feb 23, 2024, 11:59 AM

    VasilisK Greetings!

    I understand that you would like to change the logo of the web app.

    You can customize your published web app in the Azure portal. The source code for the published web app is available on GitHub, where you can find information on changing the app frontend, as well as instructions for building and deploying the app.

    I would suggest you, fork/clone this repository and make your own modifications to the UX. Once forked, you can modify the code as per your updated logo. Below is a sample how you can modify the images.

    User's image

    The answers given in the following URLs, do not help (I am not familiar with Github):

    You can also modify the code using VS Code or Visual Studio if you are not able to use GitHub.

    Furthermore, Microsoft documentation does not provide instructions to personalize the site.

    Please see Common Customization Scenarios (e.g. updating the default chat logo and headers)for more details.

    Do let me know if that helps or have any other queries.

    If the response helped, please do click Accept Answer and Yes for was this answer helpful.


  3. AshokPeddakotla-MSFT 35,941 Reputation points
    Mar 7, 2024, 9:26 AM

    VasilisK I'm glad that your issue is resolved and thank you for posting your solution so that others experiencing the same thing can easily reference this!

    Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer, they can only accept answers by others, I'll repost your solution in case you'd like to Accept the answer.

    Error Message:

    I'm glad that your issue is resolved and thank you for posting your solution so that others experiencing the same thing can easily reference this!

    Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer, they can only accept answers by others, I'll repost your solution in case you'd like to Accept the answer.

    Error Message:

    User's image

    Solution:

    • Add the following variables (or whichever suits you): UI_TITLE UI_LOGO UI_CHAT_TITLE UI_CHAT_LOGO UI_CHAT_DESCRIPTION
    • Using the Deployment center, sync to the most recent build
    • After the sync is done, restart the app.

    It seems there was an issue which was solved in the most recent version https://github.com/microsoft/sample-app-aoai-chatGPT/issues/618

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


  4. Varun Matlani 0 Reputation points
    Oct 28, 2024, 11:26 AM

    What worked for me - you can go to this link: https://github.com/microsoft/sample-app-aoai-chatGPT/tree/main?tab=readme-ov-file#common-customization-scenarios-eg-updating-the-default-chat-logo-and-headers

    User's image

    This is the default value.

    Now:

    1. Go to your web-app on Azure Portal
    2. Under settings - "Environment Variables"
    3. Now - either these "App Settings" would be present (can search them) or they wouldn't be. If they are - rather than editing, just delete older entries and "Add" them again
    4. In value - put the text / URL as required: Here I changed the title to "Matlani" and the Chat Title to "NEXT". It would take 5-10 minutes to configure and appear!

    User's image

    Hope it helps!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.