Sangil's blog

https://github.com/ChoiSangIl Admin

ibm watson ENTITY VALUE 가져오기 DEV / CHATBOT

2018-12-14 posted by sang12


Watson Dialog를 만들때 특정 Entity값과 실제로 그 Entity값에 매핑되어 사용자가 검색되는 값을 가져와야 할 때가 있습니다.

"context": {
    "searchEntityName": "@엔티티명.literal",
    "entityName": "@엔티티명.value"
 }

그럴때는 위와같이 엔티티명.literal로 사용자가 검색한 값을 가져 올수있고, 엔티티명.value로 해당 엔티티값을 가져 올 수 있습니다.

#watson context 엔티티값 #Watson Conversation
REPLY