This is meant to be a collaborative "open book" exercise. Please use any apps, tools, AI, etc that you would normally use while programming.
We have also included a few helpful services/tools to save you time. More details below.
Build a simple clone of Perplexity.
When the user submits a new search, they should be presented with the search results from Google, as well as an AI generated response to their query, based on the retrieved Google search results.
- Use npm to install dependencies
- Add required environment variables
- Run
npm run dev
to start the dev server
- Remix: https://remix.run/docs/en/2.3.1
- Dexter (for OpenAI): https://github.com/dexaai/dexter/tree/master
- SerpAPI (for Google search): https://github.com/serpapi/serpapi-javascript
These are helpful services that we have already configured for you. Find the
code in /app/services/
.
- OpenAI: use GPT 3.5
- SerpAPI: get Google search results for a query