Giter Site home page Giter Site logo

simboyz / d-party-bot-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudbreadpapa/d-party-bot-framework

0.0 2.0 0.0 909 KB

Microsoft Bot framework code for D.Camp - D.Party presentation

License: MIT License

C# 88.53% ASP 1.01% HTML 10.46%

d-party-bot-framework's Introduction

마이크로소프트 봇 프레임워크로 만드는 인공지능 봇

Microsoft Bot fraemwork code for D.Camp - d.party presentation
이 자료는 d.party 발표를 위해 제작. http://www.dcamp.kr/event/apply/1500
Github repository short URL : https://aka.ms/dpartybot
slide share 링크 : http://www.slideshare.net/daewkim73/ss-67434456
웹 챗봇 라이브 데모 링크 : http://dw-d-party-bot.azurewebsites.net
Skype 라이브 데모 링크 : https://join.skype.com/bot/ca7f502d-335b-4891-9343-674e42d812b6

10분 동안 만드는 진짜 Bot

Microsoft Bot Framework를 이용해
봇을 개발 / 게시 / 등록하고, 실제 메신져 어플리케이션에서 추가해 봇과 채팅하는 어플리케이션을 개발 및 Azure Machine Learning을 이용해 예측 분석 수행

d.party 발표자료 slideshare

slide share 링크 : http://www.slideshare.net/daewkim73/ss-67434456

###Bot 라이브 데모 링크 아래 경로에서 실제 d.party에 사용된 웹봇을 테스트 가능
웹 챗봇 라이브 데모 링크 : http://dw-d-party-bot.azurewebsites.net
테스트 웹사이트 이미지

skype가 있다면 아래 링크에서 테스트 가능

스카이프 라이브 데모 : 스카이프 이미지

전체 진행 절차

Microsoft Bot Framework를 이용해 실제 봇을 개발하는 절차
참고링크 : https://docs.botframework.com/en-us/csharp/builder/sdkreference/gettingstarted.html

  • Node.js 또는 .NET을 이용해 프로젝트 시작
  • .NET 과정일 경우 Bot Framework 템플릿을 이용해 진행
    Bot Framework 템플릿
  • 봇 에뮬레이터로 테스트(Microsoft Bot Framework Channel Emulator)
    봇 에뮬레이터 이미지
  • 개발 과정을 수행 (코드 참조)
  • Microsoft Azure - PaaS, App Service의 API App으로 publish 수행
    API App으로 publish 수행
  • 봇을 Microsoft Bot Framework에 "등록"
    봇을 등록
  • 등록한 봇을 테스트
    봇 테스트
    generate된 MicrosoftAppId와 MicrosoftAppPassword를 web.config의 코드에 추가
<!-- update these with your BotId, Microsoft App Id and your Microsoft App Password-->  
<add key="BotId" value="dwkim-bot-d-party" />  
<add key="MicrosoftAppId" value="AppID" />  
<add key="MicrosoftAppPassword" value="AppPWD" />  
  • 채널 설정 및 다른 메신저(Facebook Messenger, Skype, Slack, Telegram 등)와 통합
    타 메신저 추가
  • Azure Machine Learning의 Predictive Model로 예측 분석 수행
    Iris 데이터로 처리 : github repo의 Iris 폴더 참조
    Iris plot
    Iris plot
  • Iris 학습 모델 생성
    Iris 학습 모델
  • Iris 예측 모델 생성
    Iris 예측 모델
  • 코드 통합 후 Microsoft Bot Framework Channel Emulator에서 prediction 수행
    Iris 예측 모델
  • 테스트 후 Azure API App으로 배포

사용한 코드 정보

https://github.com/CloudBreadPaPa/d-party-bot-framework 리포지토리 하위의 d-party-bot-framework 폴더에 모든 코드 포함
web.config 파일의 아래 내역 수정 필요

<!-- update these with your BotId, Microsoft App Id and your Microsoft App Password-->
<add key="BotId" value="dwkim-bot-d-party" />
<add key="MicrosoftAppId" value="AppID" />
<add key="MicrosoftAppPassword" value="AppPWD" />

Controller\MessageColtroller.cs 파일에서 아래 내역 수정 필요

...
const string apiKey = "Azure ML API 키"; // Azure ML 접근을 위한 키값  
...
client.BaseAddress = new Uri("Azure ML API URL");  
...

d-party-bot-framework's People

Contributors

cloudbreadpapa avatar

Watchers

 avatar  avatar

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.