본문 바로가기

프로젝트/Chatbot 경진대회

Gate 01

0. 설치

Visual studio community 2019 설치

- ASP.NET 및 웹 개발

- Azure 개발

Bot Framework v4 SDK Templates for Visual Studio

(https://marketplace.visualstudio.com/items?itemName=BotBuilder.botbuilderv4)

Bot Framework Emulator

(https://github.com/Microsoft/BotFramework-Emulator/releases/tag/v4.9.0)

 

1. Gate 01 진행

VS 프로젝트 만들기 -> echobot 선택 후 진행 -> echobot.cs 실행

 

* OnMembersAddedAsync 메소드 : 챗봇에 새로운 사용자가 추가될 때 수행

* OnMessageActivityAsync 메소드 : 사용자가 어떠한 메세지를 보내면 수행

 

emulator 실행 -> 새로만들기 -> 값들을 입력 ->  저장