Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mewpmewp2
· 3y ago · 0 comments
How are the embeddings created? How does it scan, index and find the appropriate information to feed to the prompt?
Comments
[–]
mfester
3y ago
Embeddings are created using OpenAI's ada model. They are stored in Supabase with the vector extension, which offers a simple way to compute vector similarities. Then the associated sections are added to the prompt context.
[–]
mewpmewp2
OP
3y ago
Supabase looks awesome, thanks for that.