- Create
.env
file with theOPENAI_API_KEY
- Install dependencies
npm i
- Run it
-
function_calling
- Based on https://platform.openai.com/docs/guides/gpt/function-calling
node .\function_calling\index.js
-
vision
- Based on https://platform.openai.com/docs/guides/vision
node .\vision\base64.js
-