Interactive chat interface for NAIRR resources and services using @snf/qa-bot-core.
- Real-time Q&A: Direct integration with NAIRR's AI-powered chat API
- Rating System: Thumbs up/down feedback for continuous improvement
- NAIRR Branding: Custom colors and logo matching NAIRR's visual identity
- Responsive Design: Works seamlessly on desktop and mobile devices
- Easy Deployment: Static files ready for Netlify or any hosting service
- Frontend: Vanilla HTML/CSS/JavaScript (no build process required)
- Bot Library: @snf/qa-bot-core v0.1.0
- Hosting: Optimized for Netlify static deployment
The bot uses the standalone version of qa-bot-core with NAIRR's production endpoints:
<script src="https://unpkg.com/@snf/qa-bot-core/dist/qa-bot-core.standalone.js"></script>
<script>
window.qaBotCore({
target: document.getElementById('bot-container'),
apiKey: 'your-production-key',
qaEndpoint: 'https://access-ai-grace1-external.ccs.uky.edu/nairrpilot/chat/api/',
ratingEndpoint: 'https://access-ai-grace1-external.ccs.uky.edu/nairrpilot/chat/rating/',
welcomeMessage: "Hello! I'm the NAIRR Q&A Bot. How can I help you today?",
botName: "NAIRR Assistant",
primaryColor: "#103f77",
secondaryColor: "#1976d2"
});
</script>- Connect this repository to Netlify
- Build settings are configured via
netlify.toml - Deploy automatically on git push
Upload index.html and any assets to any static hosting service.
# Install dependencies
npm install
# Run build command (validates setup)
npm run buildPrivate - NAIRR Project