News for hackers. Stuff that matters.
Re:ChatGPT for Search Engines by pelorat on Thursday January 19, 2023 @03:40AM (#34438090)
I think this could be solved by a multi-step approach. The first prompt could instruct the AI to generate search queries for your input. Then you'd take the output for that and do an actual search online. Extract the text of the first relevant hits then feed back that into a new prompt with additional instructions; "find commonality in these blocks of text and generate a summary" or "combine these blocks of text".

I think the true power of this tech will be when there's a paid API available and we can hide a lot of back and forth behind a single prompt.

Re:ChatGPT for Search Engines by adz5a on Thursday January 19, 2023 @04:20AM (#34438309)
I agree. I used ChatGPT to boostrap a coding session in which I was using a library to describe data structures. My steps were - ask for documentation and examples relevant to the task ahead. - produce some examples - tweak the example using domain-like data - propose a solution using the lib as is - ask for a solution using a different convention than the classic one

i kind of think about this as a REPL assistant. very interested in other ways to use it (and the use cases, anecdotally I also used it to try and learn a little bit of COBOL using the same iterative approach)