Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
5.57k stars 3.74k forks source link

Change browser tab title #1696

Closed bp3000bp closed 2 weeks ago

bp3000bp commented 2 weeks ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

use this repo

Any log messages given by the failure

n/a

Expected/desired behavior

I would like to change the browser tab title for my deployment of this. I can't find the source of the current browser tab title "GPT + Enterprise Data | Sample" or any documentation on how to change it. Would someone be able to reply to this and point out where this can be changed if possible? Please and thank you!!

OS and Version?

Windows 11 Pro

azd version?

azd version 1.9.3 (commit e1624330dcc7dde440ecc1eda06aac40e68aa0a3)

Versions

n/a

Mention any other details that might be useful


Thanks! We'll be in touch soon.

RobSch1406 commented 2 weeks ago

Hey, you can change that is the Layout.tsx file. ./app/frontend/src/pages/layout/

in line 17 is the header: <h3 className={styles.headerTitle}>**GPT + Enterprise data | Sample**</h3>

regards Robert

bp3000bp commented 2 weeks ago

I already changed that, was wondering if it's being overridden somewhere else? I updated it several days ago and have deployed plenty of times since then. Thanks for the reply.

RobSch1406 commented 2 weeks ago

sorry I was to fast to reply. in the layout you just adopt the page headline. If you want to change the name of the browser tab u can do that in index.html.

line 7. <title>GPT + Enterprise data | Sample</title>

bp3000bp commented 2 weeks ago

I've already changed it in the index.html file too lol. Could it be that i need to do an azd up instead of azd deploy to get these changes to show?

bp3000bp commented 2 weeks ago

that was it, needed to do azd up to change it. thank you for the help.