News for hackers. Stuff that matters.
Re:Open-Source GPT-4 Platform for Markdown by mewpmewp2 on Saturday March 25, 2023 @06:30PM (#35308179)
How are the embeddings created? How does it scan, index and find the appropriate information to feed to the prompt?
Re:Open-Source GPT-4 Platform for Markdown by mfester on Saturday March 25, 2023 @06:33PM (#35308201)
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.
Re:Open-Source GPT-4 Platform for Markdown by mewpmewp2 on Saturday March 25, 2023 @09:11PM (#35309527)
Supabase looks awesome, thanks for that.