Concepts

1. Create a QnA Maker service in Azure:

  • Log in to the Azure portal (portal.azure.com).
  • Click on “Create a resource” and search for “QnA Maker”.
  • Select the “QnA Maker” service and click on “Create”.
  • Provide the required details, such as the name, subscription, resource group, and pricing tier. Choose an appropriate location for your service.
  • Once the service is created, navigate to the QnA Maker resource.

2. Create a knowledge base:

  • In the QnA Maker portal, click on “Create a knowledge base”.
  • Provide a name and description for your knowledge base.
  • Choose the appropriate language for your knowledge base.
  • You can either import existing content or create new Q&A pairs.
  • To import existing content, you can upload a PDF, Word, or Excel file containing the questions and answers.
  • To create new Q&A pairs, click on “Add QnA pair” and enter the question and its corresponding answer.
  • Repeat the process for all the questions and answers you want to include in the knowledge base.
  • Click on “Save and train” to train the knowledge base.

3. View and test your knowledge base:

  • Once the knowledge base is trained, click on “Test” to validate its effectiveness.
  • In the test pane, enter a question related to your knowledge base and check if the correct answer is returned.
  • You can also analyze the test results to identify any missed or ambiguous questions.
  • If the test results are not satisfactory, you can refine the knowledge base by adjusting the questions and answers, adding alternative phrasings, or providing more specific answers.
  • Repeat the testing process until you achieve the desired accuracy.

4. Publish and integrate your knowledge base:

  • Once you are satisfied with the performance of your knowledge base, click on “Publish” to make it available for consumption.
  • Select the appropriate options for public or private endpoint, authentication, and scaling.
  • After publishing, you will receive an endpoint URL that you can use to integrate the knowledge base with your applications, chatbots, or AI solutions.
  • You can also use the QnA Maker API to programmatically access the knowledge base and retrieve answers based on user queries.

5. Monitor and improve your knowledge base:

  • Regularly monitor the usage and performance of your knowledge base.
  • Analyze the user queries and feedback to identify any gaps or areas for improvement.
  • Update and refine the knowledge base as your understanding of user requirements and preferences evolves.
  • Use the built-in analytics and feedback mechanisms in QnA Maker to gather insights and make data-driven decisions for enhancing the knowledge base.

Overall, training and testing a knowledge base related to designing and implementing a Microsoft Azure AI solution involves creating a QnA Maker service, creating a knowledge base with relevant content, testing its effectiveness through user queries, publishing and integrating the knowledge base, and continuously monitoring and improving its performance based on user feedback.

Answer the Questions in Comment Section

Which of the following is NOT a component of an Azure AI solution?

  • a) Machine learning models
  • b) Knowledge base
  • c) Natural Language Understanding (NLU)
  • d) Internet of Things (IoT) devices

Correct answer: d) Internet of Things (IoT) devices

True or False: Azure Cognitive Services does not require any coding skills to implement.

Correct answer: True

Which of the following Azure Cognitive Services is suitable for performing optical character recognition (OCR)?

  • a) Text Analytics
  • b) Computer Vision
  • c) Language Understanding (LUIS)
  • d) Personalizer

Correct answer: b) Computer Vision

True or False: Azure Cognitive Services provides pre-trained models for speech recognition and translation.

Correct answer: True

When using Azure Cognitive Search, which service is used for creating custom AI models?

  • a) Azure Machine Learning
  • b) Azure Language Understanding (LUIS)
  • c) Azure Personalizer
  • d) Azure Form Recognizer

Correct answer: a) Azure Machine Learning

Which Azure service provides a managed cloud platform for building, deploying, and scaling machine learning models?

  • a) Azure Databricks
  • b) Azure Machine Learning service
  • c) Azure Bot Service
  • d) Azure Functions

Correct answer: b) Azure Machine Learning service

True or False: Azure Cognitive Services supports multiple programming languages, including Python, C#, and Java.

Correct answer: True

Which Azure Cognitive Service can be used to extract key phrases and entities from text?

  • a) Text Analytics
  • b) Computer Vision
  • c) Language Understanding (LUIS)
  • d) Personalizer

Correct answer: a) Text Analytics

True or False: Azure Cognitive Services provides a service called QnA Maker that helps in creating question and answer knowledge bases.

Correct answer: True

Which Azure service can be used to train and deploy custom machine learning models?

  • a) Azure Cognitive Services
  • b) Azure Databricks
  • c) Azure Machine Learning
  • d) Azure Functions

Correct answer: c) Azure Machine Learning

0 0 votes
Article Rating
Subscribe
Notify of
guest
22 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Florent Adam
6 months ago

Great post! Very informative about training and testing a knowledge base for the AI-102 exam.

Danko Grujić
1 year ago

Totally agree with User 1. This helped me understand the topic better.

Alexander Bates
6 months ago

Can someone explain the importance of splitting the dataset into training and testing sets?

María José Guevara

The post could use more examples, but overall it’s decent.

Jerry Price
8 months ago

Is there a recommended size for the training set vs. the testing set?

Hugo Thompson
10 months ago

Anyone have experience using Azure Machine Learning Studio for this?

Tomas Carrasco
10 months ago

Fantastic article! Cleared a lot of my doubts.

Bojan Orlić
8 months ago

Thanks for the helpful post!

22
0
Would love your thoughts, please comment.x
()
x