On any given page in HAX, the user can click this button that opens a small window on the current page. When the button is clicked again, the small window disappears (or you can click something in the upper right corner of this small window to minimize).
This chatgpt but a small pop up window which is answering questions about the course you are in
The window itself should display a form that simply asks the following:
What would you like to learn about today?
A search box to enter text, multiline tho limit to like 200 characters or somethign reasonable
A button to "Find answer"
This then has 2 or 3 suggestions that they can click which autopopulate the prompt box. Clicking this linked text just adds that phrase to the search box and then automatically clicks Find answer (so it's not really a link, but we make the user think it is visually)
submitting data to show result
we take the form data and POST it via fetch to a vercel endpoint
On any given page in HAX, the user can click this button that opens a small window on the current page. When the button is clicked again, the small window disappears (or you can click something in the upper right corner of this small window to minimize).
This chatgpt but a small pop up window which is answering questions about the course you are in
The window itself should display a form that simply asks the following:
This then has 2 or 3 suggestions that they can click which autopopulate the prompt box. Clicking this linked text just adds that phrase to the search box and then automatically clicks Find answer (so it's not really a link, but we make the user think it is visually)
submitting data to show result
fetch
to a vercel endpointUI requirements
Support both LLMs