Giter Site home page Giter Site logo

bastet's Introduction

Bastet

Build Status CodeFactor Bugs

This is a POC for an email classifier built using Azure components and Dynamics 365.

Whenever an email is received, a shared mailbox within the Dynamics 365 instance receives that email, and sends a message to an Azure Service Bus Queue with the body of that email. An Azure Function then procedes to handle the message, and, depending on the output, sends the result back to CRM.

The Azure Function first sanitizes the email body to remove the HTML tags, then sends it off to LUIS. Depending on the output from LUIS, it can call QnAMaker or Text Analysis to perform further analysis.

Afterwards, we apply an ML.NET algorithm to predict which category the email belongs, sending a final message to another Queue for another Azure Function which has the purpose to insert the data into Dynamics 365.

In order to simplify the project, the Dynamics 365 solution will not be present in the repository. We will assume the queue receives messages from Dynamics 365.

Getting Started

Clone the repo to get started! Don't forget to create the local.settings.json file! The settings you need are the following:

"ServiceBusConnectionString" - The connection string for the Azure Service Bus
"LUISAPISubscriptionKey" - The LUIS Subscription Key
"LUISAPPID" - The ID of the LUIS instance

Contributing

First of all, thank you to everyone who contributes!

If you are interested in fixing issues and contributing directly to the code base, be my guest! Just fork the repo and do your magic! :) See the list of contributors who participated in this project.

Please see also the Code of Conduct.

License

Copyright (c) Tiago Noronha. All rights reserved.

Licensed under the MIT License.

bastet's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar paulio avatar tiagodenoronha avatar

Stargazers

 avatar  avatar

Forkers

paulio

bastet's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.