Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Commit 40286b2

Browse files
Merge pull request #57 from cinzlab/revert-56-frontend/edugpt-updates
Revert "Frontend/edugpt updates"
2 parents affac95 + fcf37e8 commit 40286b2

File tree

16 files changed

+40
-193
lines changed

16 files changed

+40
-193
lines changed

app/backend/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ async def chatlogo():
126126
return await bp.send_static_file("logo.png")
127127

128128

129-
@bp.route("/CI_Logo.png")
129+
@bp.route("/CI_Logo_Powered_green.png")
130130
async def CI_logo():
131-
return await bp.send_static_file("CI_Logo.png")
131+
return await bp.send_static_file("CI_Logo_Powered_green.png")
132132

133133

134134
@bp.route("/icon.png")

app/frontend/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>EduGPT beta</title>
7+
<title>GovGPT</title>
88
</head>
99
<body>
1010
<div id="root"></div>

app/frontend/public/CI_Logo.png

-34.5 KB
Binary file not shown.
44.5 KB
Loading

app/frontend/public/favicon.ico

0 Bytes
Binary file not shown.

app/frontend/public/icon.png

608 Bytes
Loading

app/frontend/public/logo.png

2.24 KB
Loading

app/frontend/src/components/Answer/Answer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ export const Answer = ({
113113
<div className={styles.disclaimerContainer}>
114114
<div className={styles.disclaimer}>
115115
<p>
116-
<b>IMPORTANT: </b>EduGPT is currently in a beta stage and may include incomplete or incorrect content. Please ensure you check citations
117-
and verify answers with the relevant cited organisations. If you notice mistakes or irrelevant responses, use the{" "}
116+
<b>IMPORTANT: </b>GovGPT is currently in a pilot stage and may include incomplete or incorrect content. Please ensure you check
117+
citations and verify answers with the relevant cited organisations. If you notice mistakes or irrelevant responses, use the{" "}
118118
<a href="https://ai-activator.circle.so/c/open-feedback-questions/" target="_blank" rel="noopener noreferrer">
119119
feedback
120120
</a>{" "}

app/frontend/src/components/DislaimerModal/Modal.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
.dialog-surface .tcmodal-button {
2929
align-self: flex-end;
3030
background-color: var(--primary-colour);
31-
color: var(--primary-text);
3231
border: none;
3332
outline: none;
3433
border-radius: 0.3rem;
@@ -45,7 +44,6 @@
4544

4645
.dialog-surface .tcmodal-button:hover {
4746
background-color: var(--primary-dark);
48-
color: var(--primary-text);
4947
transform: translateY(-0.03125rem);
5048
}
5149

app/frontend/src/components/DislaimerModal/Modal.tsx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,53 +21,53 @@ export const DisclaimerModal: React.FC = () => {
2121
<Dialog open={open} onOpenChange={(event, data) => setOpen(data.open)} modalType="alert">
2222
<DialogSurface id="my-dialog-surface" className="dialog-surface">
2323
<DialogBody id="my-dialog-body">
24-
<DialogTitle id="custom-dialog-title">EduGPT beta</DialogTitle>
24+
<DialogTitle id="custom-dialog-title">GovGPT - Pilot</DialogTitle>
2525
<DialogContent id="custom-dialog-content">
2626
<p>
27-
<b>IMPORTANT TERMS OF USE FOR EDUGPT</b>
27+
<b>IMPORTANT TERMS OF USE FOR GOVGPT</b>
2828
</p>
2929
<p>
3030
<b>16 October 2024</b>
3131
</p>
32-
<p>Callaghan Innovation (we, us) have developed the EduGPT beta to facilitate easier access to government-provided information.</p>
32+
<p>Callaghan Innovation (we, us) have developed the GovGPT pilot to facilitate easier access to government-provided information.</p>
3333
<p>
34-
EduGPT is available to you for free. The information that EduGPT draws from is limited to selected information from the Ministry of
35-
Education Curriculum (Tāhūrangi) web site. We do not verify the accuracy of the content on that website. It is important to note
36-
that EduGPT does not provide advice or offer viewpoint on behalf of the NZ Government or Ministry of Education.
34+
GovGPT is available to you for free. The information that GovGPT draws from is limited to selected government agencies’ websites and
35+
therefore responses will only be as accurate as those websites. We do not verify the accuracy of the content on those websites. It
36+
is important to note that GovGPT does not provide advice or offer viewpoint on behalf of the NZ Government.
3737
</p>
3838
<p>
39-
EduGPT is still in a beta phase. EduGPT may not always be available. While our aim is that EduGPT provides useful information,
39+
GovGPT is still in a pilot phase. GovGPT may not always be available. While our aim is that GovGPT provides useful information,
4040
responses may not always be accurate and may not reflect correct, current or complete information. We are not liable for any errors
4141
in the responses you receive and you should not rely on any response without independently confirming its accuracy.
4242
</p>
4343
<p>
44-
Any information you input into EduGPT is deleted once you end your chat or session on EduGPT. Your history of inputs and EduGPT’s
44+
Any information you input into GovGPT is deleted once you end your chat or session on GovGPT. Your history of inputs and GovGPT’s
4545
responses are not retained beyond your current session. Despite this, we recommend that you do not input any personal information,
46-
confidential or commercially sensitive information into EduGPT as a matter of best practice. You are solely responsible for any and
47-
all information that you provide to EduGPT.
46+
confidential or commercially sensitive information into GovGPT as a matter of best practice. You are solely responsible for any and
47+
all information that you provide to GovGPT.
4848
</p>
4949
<p>
50-
You must not use EduGPT in any way that causes, or may cause, damage to EduGPT, or impairs the availability or accessibility of
51-
EduGPT for yourself or others.
50+
You must not use GovGPT in any way that causes, or may cause, damage to GovGPT, or impairs the availability or accessibility of
51+
GovGPT for yourself or others.
5252
</p>
5353
<p>
54-
You must not use EduGPT in any way, or for a purpose, which is unlawful, malicious, fraudulent, deceptive, abusive, offensive,
54+
You must not use GovGPT in any way, or for a purpose, which is unlawful, malicious, fraudulent, deceptive, abusive, offensive,
5555
discriminatory or harmful.
5656
</p>
5757
<p>
58-
To the maximum extent permitted by law, we will not be liable to you for your use of EduGPT or for any actions or outcomes that may
59-
result from your use of EduGPT. If you are using EduGPT for business use and you are in trade, you agree that these terms are the
60-
entire agreement between you and us for your use of EduGPT, and that you contract out of sections 9, 12A and 13 of the Fair Trading
58+
To the maximum extent permitted by law, we will not be liable to you for your use of GovGPT or for any actions or outcomes that may
59+
result from your use of GovGPT. If you are using GovGPT for business use and you are in trade, you agree that these terms are the
60+
entire agreement between you and us for your use of GovGPT, and that you contract out of sections 9, 12A and 13 of the Fair Trading
6161
Act 1986. These terms are governed by the laws of New Zealand.
6262
</p>
6363
<p>We may update these terms of use at any time by way of a pop up notice.</p>
6464
<p>
6565
<b>
6666
By clicking I ACCEPT, you accept these terms of use. If you do not accept these terms of use, please do not click or access
67-
EduGPT.
67+
GovGPT.
6868
</b>
6969
</p>
70-
<p>For more information on EduGPT, see our Frequently Asked Questions.</p>
70+
<p>For more information on GovGPT, see our Frequently Asked Questions.</p>
7171
<br></br>
7272
<p>
7373
This site is protected by reCAPTCHA and the Google{" "}

0 commit comments

Comments
 (0)