Hacker News new | ask | show | jobs
by brudgers 263 days ago
I think the problem being addressed is

   A. Last month user fd8120113 said “I don’t like coffee”
   B. Today they are back for another beverage recommendation
SQL is the place to store the relevant fact about user fd8120113 so that you can retrieve it into the LLM prompt to make a new beverage recommendation, today.

It’s addressing the “how many fucking times do I fucking need to tell you I don’t like fucking coffee” problem, not the word salad problem.

The ggp comment is strawmanning.

1 comments

Right but if the user hates espresso but loves black coffee, how do you properly store that in SQL?

"I hate espresso" "I love coffee"

What if the SQL query only retrieves the first one?

Good queries are hard. Database design is hard. System architecture is hard.

My comment described the problem.

The solution is left as an exercise for the reader.

Keep in mind that people change their minds, misspeak, and use words in peculiar ways.