top | item 35618236

GPT-4 generates new HN websites

6 points| rockstarflo | 2 years ago |github.com

2 comments

order

rockstarflo|2 years ago

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

rockstarflo|2 years ago

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