Some simple and fun examples demonstrating how to use the OpenAI API.
-
API Key Configuration: Create a
.env
file in theserver
directory and add your OpenAI API key: -
Running the Server: Navigate to the
server
directory and execute: npm run start -
Viewing Examples: Open
index.html
in your browser to explore the examples.