Welcome to OpenAI Starter!

This repository is designed as a NEXTJS starter kit for anyone looking to get up to speed with the latest features offered by OpenAI. Whether you're a developer, researcher, or just an AI enthusiast, this space is curated to help you understand and experiment with OpenAI's cutting-edge advancements.

What's Inside?

Within this repository, you'll find a collection of resources, code snippets, and tutorials that demystify OpenAI's newest features. We aim to provide a hands-on approach to learning, enabling you to:

Roadmap

  • ask and answer chat with gpt4-turbo/gpt4-V (useGPT)
  • chatbot with gpt4-turbo/gpt4-V
  • assistants api (useMessage, useRun, useThread)
  • TTS and whisper (useAudio)
  • dall-e 3
  • streaming output

Getting Started

To begin, simply clone this repository, and follow the installation instructions. You'll be running your first experiments in no time!

create .env.local file and add your openai api key

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

Contributing

We welcome contributions from the community! If you have suggestions, bug reports, or contributions, please open an issue or pull request.

Join us in demystifying the power of AI and making it accessible to all. Happy exploring!