This project is a chatbot built using the Microsoft Bot Framework. The chatbot is designed to query an API to retrieve data about a person and can run on-premise on a Windows server.
-
Clone the repository:
git clone https://github.com/fischermariano/bot-framework.git cd bot-framework -
Install dependencies:
npm install -
Configure the bot:
- Update the
botframework.config.jsonfile with the necessary settings.
- Update the
-
Start the bot:
npm start
The chatbot can query an API at localhost:8080/api/customers to retrieve data about a person. The API client is implemented in the src/apiClient.ts file.
To deploy the chatbot on a Windows server, follow these steps:
- Ensure that Node.js is installed on the server.
- Clone the repository to the server.
- Install dependencies using
npm install. - Configure the bot by updating the
botframework.config.jsonfile. - Start the bot using
npm start.