SvelteKit 1.0 app built on top of the OpenAI API! This project is using the latest davinci-003
OpenAI model to power prompts specific for a fun use-case: Chinese New Year! The image above of the cyberpunk-inspired Lucky Cat (or Maneki Neko) is also generated by AI :)
Deployed here at Netlify.
npm install
to get all dependencies.env
file at the root of the repository containing these two values:OPENAI_KEY=<OpenAI API key>
OPENAI_MODEL_TEMPERATURE=<Float value from 0.0 to 1.0>
These two values are loaded into the SvelteKit app through $env/static/private
for secure utilisation of the secrets on the server without sharing it to the client.
npm run dev
localhost:5173
to viewFork or contribute if you will, I welcome it all 😊