Make sure you have Node 18+ and Yarn installed. Then, install project dependencies:
yarn
Create a dev account with OpenAI.
Copy .env.example
into .env
, and replace the placeholder values with your real OpenAI accoutn credentials
dvc pull
source .env
yarn ts-node src/embed-examples.ts
Edit the query at the top of src/retrieve.ts
. Then run
yarn ts-node src/retrieve.ts
Edit the query at the top of src/generate.ts
. Then run
yarn ts-node src/generate.ts