Skip to content

Latest commit

 

History

History
105 lines (85 loc) · 8.04 KB

README.md

File metadata and controls

105 lines (85 loc) · 8.04 KB

What The Hack - Intro to Artificial Intelligence (ARCHIVED)

NOTE: This hack has been marked as "archived" since one of the data sources used by students is no longer available.

If you would like to update this hack so we can "un-archive" it, please submit a proposal to the What The Hack team as per our WTH Contribution Guide. We welcome contributions and can provide you more details on what would be needed to update it.

Introduction

AI-oriented services such as Azure Bot Services, Azure Search, and Cognitive Services Welcome to the What The Hack Intro to AI Challenge! We will focus on hands-on activities that develop proficiency in AI-oriented services such as Azure Bot Services, Azure Search, and Cognitive Services. These challenges assume an introductory to intermediate knowledge of these services, and if this is not the case, please spend time working through related resources.

Learning Objectives

Most challenges observed by customers in these realms are in stitching multiple services together. As such, we have tried to place key concepts in the context of a broader example.

Once all hackathon challenges are completed, you should be able to:

  • Configure your apps to call Cognitive Services
  • Build an application that calls various Cognitive Services APIs (specifically Computer Vision)
  • Effectively leverage the custom vision service to create image classification services that can then be leveraged by an application
  • Implement Azure Search features to provide a positive search experience inside applications
  • Configure an Azure Search service to extend your data to enable full-text, language-aware search
  • Build, train, and publish a LUIS model to help your bot communicate effectively
  • Build an intelligent bot using Microsoft Bot Framework that leverages LUIS and Azure Search
  • Effectively log chat conversations in your bot
  • Perform rapid development/testing with Ngrok and test your bots with unit tests and direct bot communication

Background Knowledge

This workshop is meant for an AI Developer on Azure. Since our time today is limited, there are certain things you will need to read or setup after you arrive. If you do not have this background knowledge, please work closely with your team to learn from others or use the links below.

  • Visual Studio
    • Previous exposure to Visual Studio will be helpful. Your team will be using it for everything we are building today, so you should be familiar with how to use it to create applications. We assume each team will have some familiarity with C# (intermediate level - you can learn here), but you do not know how to implement solutions with Cognitive Services.
  • Bot Framework
    • You should have some experience developing bots with Microsoft's Bot Framework. We won't spend a lot of time discussing how to design them or how dialogs work.
  • Azure Portal
    • You should have experience with the Azure Portal and understand how to create resource groups and configure individual services.

Challenges

Your team’s mission today is to learn more about AI capabilities through hands-on practice by completing challenges in two key areas: Cognitive Services and Bots.

Your team will start by building a simple C# application that allows you to ingest pictures from your local drive, then invoke the Computer Vision API to analyze the images and obtain tags and a description. Once you have this data, you will process it to pull out the details we need, and store it all into Cosmos DB.

You'll continue by build an Azure Search Index (Azure Search is our PaaS offering for faceted, fault-tolerant search) on top of Cosmos DB, then you’ll build a Bot Framework bot to query it. Finally, you'll extend this bot with Language Understanding (LUIS) to automatically derive intent from your queries and use those to direct your searches intelligently.

Part 1: Cognitive Services

This set of challenges involves building an end-to-end application that allows you to pull in your own pictures, use Cognitive Services to obtain a caption and some tags about the images, and then store that information in Cosmos DB. Build on your work by using the NoSQL store (Cosmos DB) to populate an Azure Search index, and then build a Bot Framework bot using LUIS to allow easy, targeted querying.

Part 2: Bots

You are working with Contoso LLC, which sells bicycles and bicycle equipment to its customers. Contoso currently processes new product orders and queries through human operators and is starting to devise a plan to implement your proposed solution using bots. The solution will provide an automated approach that allows Contoso to seamlessly scale up to handle a large call volume while maintaining zero wait times and freeing up staff to manage other tasks.

Prerequisites

This is a list of pre-requisites needed to successfully complete the challenges. Some of these are items to deploy to your development machine. Some are decisions you should discuss and define as a team, like the language to use for development.

  1. Azure Account

    • You must have an Azure account to complete the hackathon. Either use your existing subscription or setup a free trial to complete today’s challenges. We will not be providing Azure passes for this workshop.
  2. Custom Vision Training Key

    • The training API key allows you to create, manage and train Custom Vision project programmatically. You can obtain a key by creating a new project at https://customvision.ai and then clicking on the “setting” gear in the top right.

Repository Contents

  • ../Coach/Guides
    • Coach's Guide and Kick Off presentation
  • ../Coach/Demos
    • Demos for ML, Text & Speech and Vision
  • ../Coach/Solutions
    • Solution code for each challenge
  • ../Student/Guides
    • Student's Guide
  • ../Student/Resources
    • Code and other resources needed for each challenge

Contributors

  • Laura Edell
  • Diana Phillips

Resources & Helpful Links