Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
geepytee
· 3y ago · 0 comments
davinci-003 has a 4k tokens cap, you cannot just 'shove all your information in the prompt.' Can parallelize but then rate limits become a problem. Really curious to hear how these guys are handling it.
Comments
[–]
KidComputer
3y 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...