This repository contains the code for the demos accompanying my "Sneaky" AI talk, which explores practical and subtle ways to integrate Generative AI into applications.
- Clone the repository:
git clone https://github.com/benmvp/sneaky-ai-demos.git- Install dependencies:
This project uses pnpm for package management. If you don't have it installed, follow the instructions at pnpm.io. Then, navigate to the project directory and install the dependencies:
cd sneaky-ai-demos
pnpm install- Set up your OpenAI API key:
- Create an OpenAI account and obtain an API key from the OpenAI website.
- Create a file named
.env.localat the root of the project directory. - Add the following line to
.env.local, replacingYOUR_API_KEYwith your actual OpenAI API key:
OPENAI_API_KEY=YOUR_API_KEY- Run the development server:
pnpm run devThis will start the development server, and you can access the demos in your web browser at the address shown in the terminal (usually http://localhost:3848).
- AI-Assisted Writing: Experience how AI can provide real-time suggestions and feedback to improve your writing.
- Next.js: React framework for building web applications.
- OpenAI API: Used for accessing the generative AI models.
- MUI: React UI tools.
This project is licensed under the MIT License - see the LICENSE file for details.