Updated new routes for AI search
This commit is contained in:
@@ -64,12 +64,15 @@ export default function EcoconnectSearch() {
|
||||
"/": "Go home",
|
||||
"/springboard": "Go to the Dashboard",
|
||||
"/manage-account": "Manage your account",
|
||||
"/forgot-password": "Reset your password",
|
||||
"/events": "Browse events",
|
||||
"/karang-guni-schedules": "Browse available Karang Guni",
|
||||
"/home-bill-contest": "Take part in the home bill contest",
|
||||
"/home-bill-contest/new-submission": "Submit your bill",
|
||||
"/community-posts": "Browse community posts",
|
||||
"/community-posts/create": "Create a post",
|
||||
"/feedback": "Send feedbacks",
|
||||
"/user-vouchers": "View your vouchers",
|
||||
};
|
||||
|
||||
const getRouteDescription = (route: string) => {
|
||||
@@ -152,7 +155,7 @@ export default function EcoconnectSearch() {
|
||||
{aiResponseRouteDescription}
|
||||
</p>
|
||||
<p className="text-sm opacity-50">
|
||||
https://ecoconnect.gov{aiResponseRoute}
|
||||
https://ecoconnect.gov.sg{aiResponseRoute}
|
||||
</p>
|
||||
</div>
|
||||
<Button
|
||||
|
||||
@@ -10,12 +10,15 @@ const nlsPrompt = `
|
||||
"/": home
|
||||
"/springboard": user dashboard
|
||||
"/manage-account": manage user account
|
||||
"/forgot-password": reset user password
|
||||
"/events": events
|
||||
"/karang-guni-schedules": browse karang guni slots
|
||||
"/home-bill-contest": participate in contest & earn vouchers
|
||||
"/home-bill-contest/new-submission": submit bill
|
||||
"/community-posts": show posts
|
||||
"/community-posts/create": create post
|
||||
"/feedback": send feedbacks / get in touch
|
||||
"/user-vouchers": view vouchers user have
|
||||
|
||||
based on input, provide appropriate route closest to fulfilling user's needs
|
||||
If none matches user query, return empty route, however try your best not to.
|
||||
|
||||
Reference in New Issue
Block a user