How to implement Q&A against your docs with GPT3 embeddings and Datasette
The trick I describe in this article - using embedding similarity to find relevant content, then constructing a prompt to try to answer a question - is showing up in a whole bunch of different places right now.https://github.com/jerryjliu/gpt_index is a particularly interesting implementation under very active development at the moment.