Y
Hacker News
new
|
ask
|
show
|
jobs
by
KidComputer
1220 days ago
You shove the whole corpus in a vector db using embeddings, query the nearest neighbors to an input and inject those into a prompt to pass to GPT.
https://langchain.readthedocs.io/en/latest/modules/chains/co...