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…
Hacker News Activity Analysis with GPT-4 Agent
31–40 of 54 posts
Re: Hacker News Activity Analysis with GPT-4 Agent
#32Like, if I am running a t-shirt store, my users can query like: "Do you have a round neck t-shirt in red color in XL size" and it returns all relevant results
Re: Hacker News Activity Analysis with GPT-4 Agent
#33> that was a bad visualization...
Re: Hacker News Activity Analysis with GPT-4 Agent
#34Re: Hacker News Activity Analysis with GPT-4 Agent
#35What information would this send to the third-party (you and/or OpenAI)? I assume from this demo at the very minimum the database structure? Does the post processing after the LLM response run on the customers' servers?
Re: Hacker News Activity Analysis with GPT-4 Agent
#36Has anyone seen a project such as this which is open source? I am not saying this project should be, it’s just that my pet project is something very similar and I am sure some people must be building this in the open?
Re: Hacker News Activity Analysis with GPT-4 Agent
#37If 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 mi…
Your 2nd question would require some preprocessing per message that should probably be done as part of data preparation and not at query time.
Re: Hacker News Activity Analysis with GPT-4 Agent
#38If 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 mi…
We will probably enable the Hackernews data as demo data in the future. Today we only have some e commerce demo data when you sign up. Although you could connect the public Big query dataset and do it yourself. Your 2nd question would require some preprocessing per message that should probably be done as part of data preparation and not at query time.
Re: Hacker News Activity Analysis with GPT-4 Agent
#39Re: Hacker News Activity Analysis with GPT-4 Agent
#40You could potentially stage the query in two parts — one in which it builds the query that you execute , and the 2nd in which you provide data for it to analyse/visualise.