For embedding vectors approach checkout WCAG GPT 2.
npm install
pip install --upgrade openai openai"[datalib]"
OPENAI_KEY="<YOUR_SECRET_API_KEY>"
openai tools fine_tunes.prepare_data -f ./data/YOUR_DATA_FILE.jsonl
fs.createReadStream('./data/YOUR_PREPARED_DATA_FILE.jsonl'),
node uploadFile.js
training_file: 'YOUR_FILE_ID'
node createFineTune.js
node listFineTunes.js
node createCompletion.js