microsoft / sample-app-aoai-chatGPT

Sample code for a simple web chat experience through Azure OpenAI, including Azure OpenAI On Your Data.
MIT License
1.43k stars 2.14k forks source link

Changing Placeholder text in Azure web app #869

Open Farshad6788 opened 1 month ago

Farshad6788 commented 1 month ago

Hi there, I have customized the interface of my Azure web app, and now I'm trying to change the placeholder text. I followed the steps outlined in this link to customize my website app. I used environmental variables to achieve the customization, but I'm not sure which environmental variable to use to change the placeholder text.

S1

In other words, I am looking for a specific tag to add it as an Environmental variable to my app setting and change the text of placeholder, similar to what I did for UI_TITLE , UI_CHAT_TITLE and ... . As you see in the attached image, I only added app settings based on the previous link (which I had mentioned above) and they were changed according to the defined values.

Screenshot 2024-05-22 154339

Can someone advise on how to do this? Thank you.

Farshad6788 commented 1 month ago

@AlexKaSi Thanks for your response. What about with environmental variables? Isn't it possible by adding an environmental variable in app setting according to the second attached image?

abhahn commented 1 month ago

Hi @Farshad6788 , I would probably consider this to be an enhancement rather than a bug, since we don't currently have this capability implemented (and therefore can't be broken). :)

I'll change the label to "enhancement" and add it to our backlog as another customization we can add.

Farshad6788 commented 1 month ago

@abhahn Great. Thanks ;)

abhahn commented 1 month ago

@Farshad6788 / @AlexKaSi , based on the priority of other work I'm currently assigned I'm not sure what would be the timeline for picking this up on our side. We will add it to the backlog, but you are also welcome to contribute this feature in your own PR as well.