The following code generates a new Hacker News website, that even shows images in the results similar to Google.
pip install gptdeploy
gptdeploy generate \
--description "Given a search query, find articles on hacker news using the hacker news api and return a list of (title, author, website_link, first_image_on_the_website)" \
--test "searching for GPT gives results" \
--model gpt-4 \
--path microservice
Oh the command got corrupted. This is how it should look like:
gptdeploy generate --description "Given a search query, find articles on hacker news using the hacker news api and return a list of (title, author, website_link, first_image_on_the_website)" --test "searching for GPT gives results" --model gpt-4 --path microservice
pip install gptdeploy
gptdeploy generate \ --description "Given a search query, find articles on hacker news using the hacker news api and return a list of (title, author, website_link, first_image_on_the_website)" \ --test "searching for GPT gives results" \ --model gpt-4 \ --path microservice