Skip to content

necyberteam/nairr-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAIRR Q&A Bot

Interactive chat interface for NAIRR resources and services using @snf/qa-bot-core.

Features

  • 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

Technology

  • Frontend: Vanilla HTML/CSS/JavaScript (no build process required)
  • Bot Library: @snf/qa-bot-core v0.1.0
  • Hosting: Optimized for Netlify static deployment

Usage

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>

Deployment

Netlify

  1. Connect this repository to Netlify
  2. Build settings are configured via netlify.toml
  3. Deploy automatically on git push

Other Static Hosts

Upload index.html and any assets to any static hosting service.

Development

# Install dependencies
npm install

# Run build command (validates setup)
npm run build

License

Private - NAIRR Project

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages