Live data from Hacker News

Show HN: Turning books into chatbots with GPT-3

konjer.xyz

151–160 of 179 posts

Re: Show HN: Turning books into chatbots with GPT-3

#151

This is one application of AI that I absolutely like. Imagine in future the AI will be able to ingest any video, blog, books, manuals, license and whole lot of other things and we will just be able to ask questions to it or get a summary from it. I wonder what will happen to actual content then. Currently YouTube is showing info about most watched section of the clips. It saves so much time! Now imagine that happenin…

eg. https://huberman.rile.yt/ based on popular The Huberman Lab podcast.

Re: Show HN: Turning books into chatbots with GPT-3

#152

This is one application of AI that I absolutely like. Imagine in future the AI will be able to ingest any video, blog, books, manuals, license and whole lot of other things and we will just be able to ask questions to it or get a summary from it. I wonder what will happen to actual content then. Currently YouTube is showing info about most watched section of the clips. It saves so much time! Now imagine that happenin…

imagine feeding it some person forum history, so you can talk to them even when they are dead, public figure or a family member.

Re: Show HN: Turning books into chatbots with GPT-3

#153
I have asked the Stephen King's book: "What happened during the very first millisecond after the Big Bang". Then I have asked plain ChatGPT the same question.

And similar questions.

And the answers were so much similar that it makes no difference. Perhaps Konjer might be better at the emotional part of the conversation, not the factual.

Re: Show HN: Turning books into chatbots with GPT-3

#154

This is one application of AI that I absolutely like. Imagine in future the AI will be able to ingest any video, blog, books, manuals, license and whole lot of other things and we will just be able to ask questions to it or get a summary from it. I wonder what will happen to actual content then. Currently YouTube is showing info about most watched section of the clips. It saves so much time! Now imagine that happenin…

A related thing I’ve been wondering about — I have thousands of bookmarks and saved PDFs etc and I would love to have a way to scrape all the content from the URLs and PDFs and then ask questions and get answers along with links to relevant docs. Now that would be a killer app.

EDIT — answered my own question: there is indeed an OpenAI Embeddings API :

https://beta.openai.com/docs/guides/embeddings

That plus a vector similarity engine (FAISS for example) is the key to these types of apps (Thanks to Simon Willison’s blog, which he pointed to elsewhere in this thread)

Re: Show HN: Turning books into chatbots with GPT-3

#155
post #30

How are you getting the book text into gpt3?

You don’t. You cut it into snippets. For those you create embeddings which allow you to rank them by semantic similarity to a query. You then prompt GPT3 with the question plus, say, the three most relevant snippets from the book. The most difficult thing about the process is preventing the model from making stuff up.

How do you create the embeddings? Is there a GPT3 API that returns a paragraph’s embedding vector?

Re: Show HN: Turning books into chatbots with GPT-3

#156

Hmm... the first question I asked was for "Sapiens" by Yuval Harari: "Is liberalism a religion?" This was one of the more interesting points that the book made very explicitly: > The modern age has witnessed the rise of a number of new natural-law religions, such as liberalism , Communism, capitalism, nationalism and Nazism. These creeds do not like to be called religions, and refer to themselves as ideologies. But t…

And even that is classical liberalism, which is not the ideology denoted by “liberalism” in the US.

Re: Show HN: Turning books into chatbots with GPT-3

#158

Earlier quoted context omitted.

How usable would the document embedding be for a nearest neighbor search if the dimensions were reduced to three?

can i use the three dimensions to encode a space-filling curve over a 1000-dimensional embedding?

Not precisely, but if you had 50 documents in that 1000-dimensional embedding and you reduced the dimensions to three and still got at least the exact same nearest neighbor ordering then it would at least still function, right?

I guess the problem is taking a new document (like a search term) in the higher dimensional embedding and reducing it to three dimensions for searching in that reduced space and expecting that to also maintain the same nearest neighbor ordering.

Re: Show HN: Turning books into chatbots with GPT-3

#159

Would love to know how you built this ( even at a high level )

I posted this earlier but I have a free weekly newsletter for this project. I take book requests from readers, and document the process of building out the library. Readers also get early access to books as they come out.

https://konjer.beehiiv.com/subscribe

Post reply on HN