Skip to content

Vue.js example app from the OpenAI API quickstart project

License

Notifications You must be signed in to change notification settings

ysfscream/openai-quickstart-vue

Repository files navigation

openai-quickstart-vue

This is a quickstart template for using OpenAI's GPT-3 API in Vue 3.

image

Setup

  1. Clone this repository and navigate into the project directory

    git clone https://github.com/ysfscream/openai-quickstart-vue.git
    cd openai-quickstart-vue
  2. Using pnpm to install dependencies

    pnpm install
  3. Create the .env file to store your OpenAI API key and Orgnaization ID

    touch .env
  4. Add your OpenAI API key and Orgnaization ID to the .env file

    # Example
    VITE_OPEN_API_KEY=xxxxxxxx
  5. Run the development server, and open http://localhost:3000 in your browser

    pnpm dev
  6. Build the project for production

    pnpm build

About

Vue.js example app from the OpenAI API quickstart project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published