Feb 09, 2023
Supabase implemented a gpt-based search for their docs.
This video is super helpful in explaining how they did it:
Basically they 1. search (normally) for relevant context in their docs 2. Include that as context in the prompt ("prompt injection"), then query gpt with it