Skip to content

Commit 6d7b92d

Browse files
committed
added tips and warning
1 parent e4ad39e commit 6d7b92d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

client/src/SearchPage.jsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
TeachingPopoverTrigger,
1919
TeachingPopoverFooter,
2020
} from '@fluentui/react-components';
21-
import { Search24Regular } from '@fluentui/react-icons';
21+
import { Alert12Filled, AlertOn16Filled, Note16Filled, Search24Regular, Warning12Filled, Warning16Color, Warning20Color } from '@fluentui/react-icons';
2222
import ReactMarkdown from 'react-markdown';
2323
import Cookies from 'js-cookie';
2424
import styles from './assets/styles/SearchPage.module.css'; // Import the CSS module
@@ -233,6 +233,12 @@ const SearchPage = () => {
233233
Search
234234
</Button>
235235
</div>
236+
237+
<Text block style={{ textAlign: 'center', marginBottom: '20px' }}>
238+
<Alert12Filled /> <strong>Tip:</strong> Try asking questions like "Samples used in Orlando Live 360 in 2024" or "Show me the latest 5 samples".
239+
<br />
240+
<Warning12Filled/> <strong>Warning!</strong> This sample is using free Azure OpenAI SKU so throttling and 500 errors can happen during peak usage.
241+
</Text>
236242

237243
{(pageStatus == "searching") && (
238244
<div style={{ textAlign: 'center', margin: '20px 0' }}>
@@ -249,7 +255,7 @@ const SearchPage = () => {
249255
{(pageStatus === "first_load") &&
250256
(
251257
<Text block style={{ textAlign: 'center' }}>
252-
Start searching to get results.
258+
Loading latest samples...
253259
</Text>
254260
)
255261
}

0 commit comments

Comments
 (0)