OpenResponse
🧠 💻 This project is a small prompt-completion application built with Open-AI's GPT-3 (DaVinci) and Next.js. Users can enter prompts of any complexity and expect a response in text form.
Install / Use
/learn @theericzhang/OpenResponseREADME
OpenResponse
🧠 💻 This project is a small prompt-completion application built with Open-AI's GPT-3 (DaVinci) and Next.js. Users can enter prompts of any complexity and expect a response in text form. This application does not collect or store any data.
Technology
This is a Next.js project bootstrapped with create-next-app. React is used as the front-end library for creating UI components. Routing and node requests + API building are handled by Next.js.
Installation
Getting Environment Variables for OpenAI's API
OpenAI provides new users with $18.00 in free credits to be used in their first 3 months across their product lineup, including GPT-3 and Codex. Visit their site and sign up to acquire a key.
This will be used to authenticate access to OpenAI's API.
Change directory into the project's root and create a .env file.
cd OpenResponse
touch .env
Add the key to your .env file.
OPENAI_API_KEY=YOUR_API_KEY_HERE
In the same .env file go to the next line and add the environment of the GPT-3 instance here. If you got your key from OpenAI's website, you can simply put the following -
CURRENT_ENVIRONMENT=openai
While in the project's root folder, install dependencies.
npm i
Start the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
Related Skills
bluebubbles
347.2kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
slack
347.2kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
