NOTE This content is no longer maintained. Visit the Azure Machine Learning Notebook project for sample Jupyter notebooks for ML and deep learning with Azure Machine Learning.
Link to the Microsoft DOCS site
The detailed documentation for this Q & A matching example includes the step-by-step walk-through: https://docs.microsoft.com/azure/machine-learning/preview/scenario-qna-matching
Link to the Gallery GitHub repository
The public GitHub repository for this Q & A matching example contains all the code samples: https://github.com/Azure/MachineLearningSamples-QnAMatching
This example addresses the problem of mapping user questions to pre-existing Question & Answer (Q&A) pairs as is typically provided in a list of Frequently Asked Questions (that is, a FAQ) or in the Q&A pairs present on websites like Stack Overflow. There are many approaches to match a question to its correct answer, such as finding the answer that is the most similar to the question. However, in this example open ended questions are matched to previously asked questions by assuming that each answer in the FAQ can answer multiple semantically equivalent questions.
The key steps required to deliver this solution are as follows:
- Clean and process text data.
- Learn informative phrases, which are multi-word sequences that provide more information when viewed in sequence than when treated independently.
- Extract features from text data.
- Train text classification models and evaluate model performance.
Key components needed to run this example
- An Azure account (free trials are available).
- An installed copy of Azure Machine Learning Workbench with a workspace created.
- This example could be run on any compute context. However, it is recommended to run it on a multi-core machine with at least of 16-GB memory and 5-GB disk space.
Data / Telemetry
QnA Matching collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (for example, label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.