javascript-course
javascript-course copied to clipboard
JavaScript - The Full Course
I am following along the [js course](https://fireship.io/courses/js) and am unable to get the OpenAI example running. Here are the steps I ran 1. Pulled the newest source code via git...
Updated the code to work with OpenAI API v4 and added improved error handling. This is my first time contributing on github since college. :)
```import * as dotenv from 'dotenv'; dotenv.config(); import OpenAI from 'openai'; const configuration = { apiKey: process.env.OPENIA_KEY, }; const openai = new OpenAI(configuration); //console.log(openai.images); import express from 'express'; import cors...
Expanded README with detailed information including: - Project descriptions and structure - Technology stack details - File organization and purpose - Running instructions for both projects - Key features summary...