3 ms·
I also had good results with structured outputs, scraping news articles for city names from https://lite.cnn.com https://lite.cnn.com for the “in the news” list
by jasonthorsness 2y ago
I also had good results with structured outputs, scraping news articles for city names from https://lite.cnn.com https://lite.cnn.com for the “in the news” list at https://weather.bingo https://weather.bingo - code here: https://www.jasonthorsness.com/13 https://www.jasonthorsness.com/13
I’ve had problems with hallucinations though even for something as simple as city names; also the model often ignores my prompt and returns country names - am thinking of trying a two-stage scrape with one checking the output of the other.