A conversational bot built using Microsoft Bot Framework v4 and integrated with Conversational Language Understanding (CLU) to demonstrate intelligent flight booking interactions using natural language.
Flight Booking Bot
- ✨ Natural language understanding with Azure CLU
- 🧳 Book flights by extracting origin, destination, and date
- 🤖 Built on Bot Framework SDK v4
- 🔄 Reusable dialogs for booking, date resolution, and help
- 🛠️ Structured code for scalability and modularity
git clone https://github.com/nandkumar1000/Flight-Ticket-Booking-Bot.git
cd Flight-Ticket-Booking-Bot
npm install
Create a .env
file in the root directory and add the following:
CluAPIKey=your_clu_api_key
CluAPIHostName=your_clu_endpoint_url
You can create a CLU resource via Azure Language Studio.
npm start
The bot will be hosted at:
http://localhost:3978/api/messages
Use the Bot Framework Emulator:
-
Open Emulator
-
Click Open Bot
-
Enter:
http://localhost:3978/api/messages
-
Leave App ID and Password empty (unless configured)
- Node.js
- Microsoft Bot Framework v4
- Azure CLU (Conversational Language Understanding)
- Restify
- dotenv
- ESLint, Mocha, Nodemon
Command | Description |
---|---|
npm start |
Start the bot |
npm run watch |
Start with nodemon (dev mode) |
npm run lint |
Run ESLint checks |
.
├── bots/
├── clu/
├── cognitiveModels/
├── deploymentTemplates/
├── dialogs/
├── recognizer/
├── resources/
├── index.js
├── .env
└── package.json
This project is licensed under the MIT License.
Built using the Microsoft Bot Builder Yeoman Generator v4.17.0, with integration for Azure's Conversational Language Understanding (CLU).