A Next.js application that uses AI to generate background information for class breakout room scenarios, specifically for sales training exercises.
- AI-generated objections and background details for sales training scenarios
- Clean, responsive UI built with Tailwind CSS
- Integration with OpenRouter API for advanced AI capabilities
- Structured output format for consistent results
- Node.js 18.x or later
- npm or yarn
- OpenRouter API key
- Clone the repository:
git clone [repository-url]
cd breakout-room-generator
- Install dependencies:
npm install
# or
yarn install
- Create a
.env.local
file in the root directory with your OpenRouter API key:
OPENROUTER_API_KEY=your_api_key_here
- Start the development server:
npm run dev
# or
yarn dev
- Open http://localhost:3000 in your browser to see the application.
OPENROUTER_API_KEY
: Your OpenRouter API keyOPENROUTER_MODEL
: (Optional) The specific model to use (defaults to "anthropic/claude-3-opus:beta")
This application can be easily deployed to Vercel:
Remember to set up the environment variables in your Vercel project settings.
MIT