News for hackers. Stuff that matters.
Re:ChatPDF – Chat with Any PDF by matchagaucho on Wednesday April 19, 2023 @02:33PM (#35631677)
Chunk the PDF text and create embeddings. Get cosine similarity between user query and each chunk, and send the top N chunks to OpenAI that fit within token memory.
Re:ChatPDF – Chat with Any PDF by darkteflon on Thursday April 20, 2023 @07:27AM (#35638502)
This is the way.