AI Integration
Our boilerplate enables easy integration with various AI models. All you need to do is to provide the API key and the specific model you wish to use in .env:
env
OPENAI_API_KEY="sk-proj-xxxxx"
OPENAI_MODEL="gpt-5-mini"We have included a demo AI chatbot app for your reference.
The demo chatbot is made of three separate components:
- The backend API:
src/app/api/chatbot - The frontend interface:
src/app/chatbot/page.tsx - The database schema:
prisma/schema.prisma(model Conversation,model Message,enum MessageRole)
