- Load files into DB
- Separate files into blocks
- Generate embeddings for blocks
- Write a function that fetches most relevant blocks with KNN
- Pass query and relevant blocks to ChatGPT and return answer
- Load files into DB
- Separate files into blocks
- Generate embeddings for blocks and files
- Write a function that fetches most relevant blocks with KNN
- Pass query and relevant blocks to ChatGPT and return answer