This script can re-index an existing index and inject vector data in the new index by leveraging OpenAI's embeddings API.
This script requires Python 3.7+ in order to run properly.
The requirements for the script are present in the requirements.txt
file and can be installed by using the following command:
pip3 install -r requirements.txt