Chat 로봇 #04 운세 운세 로봇
4390 단어 dialogflowDoSomeThingFun
Chat 로봇 # 01Dialogflow를 등록하자
htps : // 이 m / 예 p01 / ms / 83 5d53 b526c986797d
Chat 로봇 # 02 Dialogflow와 Line을 연결합시다.
htps : // 이 m / 예 p01 / ms / 에 225 엣 c793 또는 525b66d
Chat 로봇 # 03Intnet을 확장해보십시오
htps : // 이 m / 예 p01 / ms / 84 eve d54445284fd4196
이번에는 간단한 운세 운세 로봇을 만듭니다.
Entities를 클릭합니다.

CREATE ENTITY를 클릭합니다.

여기서 Birth라는 이름을 붙이고 있습니다.
오른쪽 입력이 되면 왼쪽 매개변수가 되는 규칙이 있습니다.
즉, 1, 1월이라면 “1월”이라는 파라미터가 되고, SAVE합니다.

이번에는 새로운 Intent를 추가하네요~운세 점의 Intent를 만듭니다.

답변 텍스트도 추가합니다.

Follow-up intent를 추가합니다.

여기에 1월을 넣습니다. 그리고 자동으로 노란색이 되네요? 이전 Entities에 Birth를 만든 것을 기억하십니까? 여기서 자동으로 그 Entities와 연결되어 $Birth가 됩니다.

그리고 마지막 대답으로 5개를 넣어 Dialogflow가 랜덤의 대답을 돌려줍니다.

시도해 보자!


그렇지만…

여기에서 Training을 클릭합니다.

여기서 대화의 요청수, 매치할 수 없는 횟수 등이 적혀 있습니다.

첫번째를 클릭하면, 아, 점쟁이를 취할 수 없지만 매치할 수 있는 Intent가 없다.

Click to assign를 누르고 앞서 추가한 운세 Intent를 선택합니다.

이것으로 OK!

괜찮아졌어!

고마워요.ー
Reference
이 문제에 관하여(Chat 로봇 #04 운세 운세 로봇), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/soup01/items/fda97369c5debedc9016텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)