Y
Hacker News
new
|
ask
|
show
|
jobs
by
matchagaucho
1157 days ago
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.
1 comments
darkteflon
1157 days ago
This is the way.
link