Upload
others
View
0
Download
0
Embed Size (px)
Citation preview
© 2017 IBM Corporation
고대민 부장한국 IBM, SW Lab Services
왓슨 컨버세이션 서비스를이용한 챗봇 개발방안 소개
© 2017 IBM Corporation 2Page
목차1. WCS (Watson Conversation Service)
§ Overview§ Create Workspace§ Prepare Intent, Entity, Dialog
2. Project Approach
References
© 2017 IBM Corporation 3Page
WCS OverviewBuild natural language conversation using a graphical user environmentwith machine learning experience.
Controller
LegacyWatson
© 2017 IBM Corporation 4Page
WCS Overview
회의실 예약해줘
희망 날짜와 시간을 알려주세요
11/9 오전 6시
예약이 완료되었습니다
사용자)
챗봇)
사용자)
챗봇)
Illustrative
q 회의실 예약 Use Case
© 2017 IBM Corporation 5Page
UserWCS Overview
Controller WCS LegacySystem
회의실 예약해줘 회의실 예약해줘
• Intent:#reserve_room• Response:희망 날짜와 시간을
알려주세요희망 날짜와 시간을 알려주세요
9/2오전 6시 9/2오전 6시
Entity:@sys-dte:2017-09-02@sys-time:06:00:00
reserveRoom(‘0902’,‘0600’)
TRUE예약이 완료되었습니다.
자연어 기반사용자 요청의
이해
사용자가입력한 정보
이해
회의실 예약
Orchestration
Illustrative
6Page
© 2017 IBM Corporation 7Page
How to use WCS
1. Train Watson to understand your users' input with user example utterances– Intents: A group of examples that a user might say to communicate a specific
goal or idea that the user wants– User examples: Questions collected by the client to support the client’s use
case.– Example:
• Intent: #hotel_hours• User Examples
• Hours for pool• What are the hours of the gym?
© 2017 IBM Corporation 8Page
How to use WCS
2. Identify the terms that may vary in your users' input– Entities: Watson's way of handling significant parts of an input that should be
used to slightly alter the way it responds to the intent.• Examples:
• Entity Name: @hotel_amenity• Entity Value: pool, gym• Synonym: swimming pool, fitness center
© 2017 IBM Corporation 9Page
How to use WCS
3. Create the responses to your user's questions: – Dialog Builder: Used to build dialog chat flows– Dialog: the logical flow that determines the responses your bot will give
when certain intents and/or entities are detected.
4. Test and Improve– Use the Try it out panel– Improve component
© 2017 IBM Corporation 10Page
목차1. WCS (Watson Conversation Service)
§ Overview§ Create Workspace§ Prepare Intent, Entity, Dialog
2. Project Approach
References
© 2017 IBM Corporation 11Page
WCS in IBM Cloud
Offerings (Category & Services)
Controller(Orchestration Logic)
IBM Cloud
ServiceInvocationLegend
Watson
WCS
WCS Service Instance(ex: Dev_Connect)
Workspace(ex: Dev_Connect)
• Intents• Entities• Dialog
Service Credentials• User name• Password
Actual Conversation
WCS
Service Instance
1n
q Internal WCS structure
Workspace
1n
Intents Entities Dialog
1
1 1 1
q WCS in IBM Cloud
Category
Service
Users
© 2017 IBM Corporation 12Page
Create WCS Service Instance
13Page
14Page
15Page
16Page
17Page
© 2017 IBM Corporation 18Page
Car Dashboard Samplehttps://conversation-demo.mybluemix.net/
© 2017 IBM Corporation 19Page
목차1. WCS (Watson Conversation Service)
§ Overview§ Create Workspace§ Prepare Intent, Entity, Dialog
2. Project Approach
References
© 2017 IBM Corporation 20Page
WCS in IBM Cloud
Offerings (Category & Services)
Controller(Orchestration Logic)
IBM Cloud
ServiceInvocationLegend
Watson
WCS
WCS Service Instance(ex: Dev_Connect)
Workspace(ex: Dev_Connect)
• Intents• Entities• Dialog
Service Credentials• User name• Password
Actual Conversation
WCS
Service Instance
1n
q Internal WCS structure
Workspace
1n
Intents Entities Dialog
1
1 1 1
q WCS in IBM Cloud
Category
Service
Users
© 2017 IBM Corporation 21Page
Prepare Intent, Entity, Dialogq Intents: Specific goal or idea that the user wants
• Example:• Intent: #hotel_hours• User Examples : Hours for pool, What are the hours of the gym?
q Entities: Significant parts of an input• Examples:
• Entity Name: @hotel_amenity• Entity Value: pool, gym• Synonym: swimming pool, fitness center
q Dialog: Logical flow that determines responses depending on intents and entities
22Page
23Page
© 2017 IBM Corporation 24Page
Prepare Intent, Entity, Dialogq Intents: Specific goal or idea that the user wants
• Example:• Intent: #hotel_hours• User Examples : Hours for pool, What are the hours of the gym?
q Entities: Significant parts of an input• Examples:
• Entity Name: @hotel_amenity• Entity Value: pool, gym• Synonym: swimming pool, fitness center
q Dialog: Logical flow that determines responses depending on intents and entities
25Page
26Page
© 2017 IBM Corporation 27Page
Prepare Intent, Entity, Dialogq Intents: Specific goal or idea that the user wants
• Example:• Intent: #hotel_hours• User Examples : Hours for pool, What are the hours of the gym?
q Entities: Significant parts of an input• Examples:
• Entity Name: @hotel_amenity• Entity Value: pool, gym• Synonym: swimming pool, fitness center
q Dialog: Logical flow that determines responses depending on intents and entities
28Page
29Page
30Page
31Page사용자 질의문 입력
32Page
Intent Matching
Entity Matching
Chatbot 답변
33Page사용자 질의문 입력
34Page
Intent Matching
Entity Matching
Chatbot 답변
35Page
1
4
35
4
1
2
Sure thing! Which genre …
Great choice! Playing …5 2
3
ü
ü
© 2017 IBM Corporation 36Page
References§ Watson Documentation > Conversation
- https://console.bluemix.net/docs/services/conversation/getting-started.html#gettingstarted
§ Chatbots and Watson: Let’s talk about national parks- https://developer.ibm.com/courses/all/chatbots-watson-lets-talk-national-
parks/
§ IBM Watson Redbooks (Ko, Taemin, et al.)- https://www.redbooks.ibm.com/Redbooks.nsf/domains/watson?Open
© 2017 IBM Corporation 37Page
For More Information
IT Architect, 부장
SW Lab Services (Watson IoT)Telephone +82-10-4995-4836Email [email protected]
고대민
© 2017 IBM Corporation 38Page
개발자라면 지금 방문하세요!developer.ibm.com/kr
Thank you