I am using gpt-3.5-turbo for rating articles from my RSS feeds list. I am passing my interests, article title and short description and expect a score between 0 and 10. Some times the scores are way off, specially if I keep the default temperature.
My current prompt is
const prompt = `I am interested in ${userInterests}.
Am I going to like this article?
Article Title: ${article.title}.
Article Description: ${article.description}.
Give a score from 0 to 10. Respond with the score only.`
My interests:
const userInterests = `Web development, AI, global news, Ukraine, Russia, China
tech news, geopolitics, Greek news, financial news, stock market, crypto
cyber security, software updates, movies`;
This article keeps getting a 7 even though it has nothing to do with my interests:
{
title: 'âHelp meâ: fans watching bear camera help save Alaska hikerâs life',
pubDate: 'Sat, 09 Sep 2023 18:57:01 GMT',
description: 'Wildlife enthusiasts watching live feed from remote national park spot hiker in distress and alert authorities to rescue him',
img: 'https://i.guim.co.uk/img/media/a0ef32988a2442dc92ed5cbf5a94c3f739a2f9a0/0_313_6000_3600/master/6000.jpg?width=140&quality=85&auto=format&fit=max&s=57781635342923699a4436df7bef9a0c',
link: 'https://www.theguardian.com/us-news/2023/sep/09/bear-camera-hiker-rescued-alaska-national-park',
score: 7
},
If I make the same question using chatGPT (3.5) I get a consistent 2:
Given your listed interests, this article appears to be quite unrelated to your main areas of interest, which include web development, AI, global news, geopolitics, and other topics. It focuses on a wildlife rescue incident and doesnât directly align with your preferences. I would give this article a score of 2 out of 10 for its likely relevance to your interests. However, individual preferences can vary, so you may find it mildly interesting even if itâs not directly related to your primary interests.
Why is there such a big difference? How can I improve this prompt? Iâve noticed that if I ask âWhy did you give this score?â the results are much better.