Skip to content

adalat-ai-tech/court-bot-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Court Assistant Bot - Test Interface

A beautiful, modern web interface for testing the WhatsApp Court Assistant Bot.

πŸš€ Live Demo

Public Test Interface: https://adalat-ai-tech.github.io/court-bot-interface/

πŸ›οΈ Features

  • Modern Chat Interface: Beautiful, responsive design with real-time messaging
  • Court Case Queries: Test case status, defect status, and cause list inquiries
  • Real-time Status: Shows connection status to the bot API
  • Example Queries: Quick access to common court-related questions
  • Mobile Responsive: Works perfectly on all devices

πŸ› οΈ Technology Stack

  • Frontend: HTML5, CSS3, JavaScript (Vanilla)
  • Styling: Modern CSS with gradients and animations
  • API Integration: Connects to deployed bot API on Google Cloud Run
  • Deployment: GitHub Pages

πŸ“± How to Use

  1. Visit the Interface: Open the public link above
  2. Test Queries: Click on example queries or type your own
  3. Real Responses: Get responses from the actual bot API
  4. Status Monitoring: Check the connection status in the status bar

πŸ”§ Local Development

To run this interface locally:

  1. Clone the repository
  2. Open index.html in a web browser
  3. The interface will automatically connect to the deployed bot API

🌐 API Endpoints

The interface connects to:

  • Health Check: https://wa-bot-suklm2nhva-el.a.run.app/health
  • Message Processing: https://wa-bot-suklm2nhva-el.a.run.app/api/test-message

πŸ“Š Example Queries

  • "What is the status of case 1001/2015?"
  • "Check defect status for CNR ODHC0010012015"
  • "Show cause list for Cuttack bench"
  • "Hello, how can you help me?"

🎨 Design Features

  • Gradient Backgrounds: Modern purple-blue gradients
  • Chat Bubbles: WhatsApp-style message bubbles
  • Typing Indicators: Animated dots when bot is processing
  • Status Indicators: Real-time connection status
  • Responsive Design: Works on desktop, tablet, and mobile

πŸ”’ Security

  • CORS Enabled: Safe cross-origin requests
  • No Sensitive Data: Only sends test messages
  • Public Interface: Safe for team testing

πŸ“ˆ Analytics

The interface tracks:

  • Message count
  • Connection status
  • Response times
  • User interactions

πŸš€ Deployment

This interface is automatically deployed to GitHub Pages and is publicly accessible for team testing.


Built for Adalat AI Tech πŸ›οΈβš–οΈ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published