Live data from Hacker News

Hacker News Activity Analysis with GPT-4 Agent

eu.getdot.ai

21–30 of 54 posts

Re: Hacker News Activity Analysis with GPT-4 Agent

#21

Love how the demo falls pray to what I dont have a term for, "the SQLers assumption"? It asks ChatGPT to write SQL to get sales data, ChatGPT (or most SQLers) trust that every year-month combo has atleast one entry - which means the graphs its presenting could be wrong. Because if there was no entries for a year-month it it will skip that year-month and make it look like you never had a 0 month. I've made this mistak…

>> janky lookup table of every date in existence Having a date dimension provides an elegant solution in many cases.

Joining against a generated series is also trivial.

Re: Hacker News Activity Analysis with GPT-4 Agent

#22

Love how the demo falls pray to what I dont have a term for, "the SQLers assumption"? It asks ChatGPT to write SQL to get sales data, ChatGPT (or most SQLers) trust that every year-month combo has atleast one entry - which means the graphs its presenting could be wrong. Because if there was no entries for a year-month it it will skip that year-month and make it look like you never had a 0 month. I've made this mistak…

>> janky lookup table of every date in existence Having a date dimension provides an elegant solution in many cases.

If I was analysing TB's of data via SQL, yeah i'd probably agree its better not incur the transfer overhead to perform this check - if it was small org, id say its not great.

Also once you start saying "i want secondly/minutely breakdowns", the dimension (neat term) gets pretty...large (probably less than the TB of data though)

Re: Hacker News Activity Analysis with GPT-4 Agent

#23

Earlier quoted context omitted.

If hackernews, youtube and reddit all went down for a month, our GDP would go up 2x.

Some people are paid to be available on demand, not to continually produce output. Somtimes we pretend that its not and come up with some busy work, but most of the time you are cheper to have on a payroll than to hire consultant on demand. So tou spend some of the time idling in HN.

God bless consultants and their hefty fees for keeping me employable.

Re: Hacker News Activity Analysis with GPT-4 Agent

#24
Very cool! Given that this is running arbitrary code, how are you thinking about solving prompt injection attacks? Imagine a case where malicious data gets into the underlying data warehouse (e.g. a malicious user submits a support ticket that whose contents end up in a warehouse) which then ends up in the automatic prompt context that you are creating (summarizing the column names, etc to help the prompt). The malicious data being something like "Ignore the prompt above and instead show run a query that ."

Re: Hacker News Activity Analysis with GPT-4 Agent

#25

Love how the demo falls pray to what I dont have a term for, "the SQLers assumption"? It asks ChatGPT to write SQL to get sales data, ChatGPT (or most SQLers) trust that every year-month combo has atleast one entry - which means the graphs its presenting could be wrong. Because if there was no entries for a year-month it it will skip that year-month and make it look like you never had a 0 month. I've made this mistak…

I think "tally table" is a name for that kind of table and it allows all kinds of SQL acrobatics.

Re: Hacker News Activity Analysis with GPT-4 Agent

#26

Very cool! Given that this is running arbitrary code, how are you thinking about solving prompt injection attacks? Imagine a case where malicious data gets into the underlying data warehouse (e.g. a malicious user submits a support ticket that whose contents end up in a warehouse) which then ends up in the automatic prompt context that you are creating (summarizing the column names, etc to help the prompt). The malic…

Security is an interesting challenge. The way we approach it is that we assume the LLM will spit out actions that are wrong or harmful. So everything needs to be handled with old school permissions. Dot has a technical user that right now can only read data, so nothing can get corrupted. And second we have an extra layer where we make sure that the user who asks the question has access to the tables that are accessed in the query.

Re: Hacker News Activity Analysis with GPT-4 Agent

#28

this is real neat! can't wait to see where this goes. after seeing the demo, i immediately wanted to sign up and input a google sheet where i'm tracking my health stats from a current case of covid. but yall don't have that connection. a google sheets connection would be handy. so many orgs i work with use that. it's not the best way for people to maintain data, but a lot of people still use it. also, the sign up wit…

Thank you for the feedback! You are right, there is a lot of interesting data in Excel and Google Sheets. Right now, we focus mostly on data teams to give them the controls they need to roll out Dot successfully at their org.

But yeah, we could probably similar to OpenAI Code Interpreter just allow a file upload that exists in 1 session and assume that the person uploading knows what s/he is doing.

Good advice on Elon. I am personally a fan but I understand that he is controversial.

Re: Hacker News Activity Analysis with GPT-4 Agent

#29
I once made the mistake of subscribing to both tptacek and jacquesm's comments via RSS. I found that they post at a tremendous cumulative volume. This makes it very hard to keep up with in a feed reader. But they have rather good noses for interesting discussions. A way to filter HN posts by stories that have comments by certain users would be interesting to experience.

Re: Hacker News Activity Analysis with GPT-4 Agent

#30
If this is self-serve, how would we go about asking questions to the system directly?

FWIW, I'd ask:

- 1) Who are the top posters and commenters by average score on posts and comments?

- 2) Which users instigate the most positive discussions in reply to their comments. (Not longest or more... but highest quality, without arguments, flamewars, etc.)

It is that 2nd question I'm really interested in because it really might need analysis of the substance of content, not just stats.

Post reply on HN