Einstein Bot에서 질문 요소 사용 시, 최종 사용자가 입력한 선택 항목은 선택 항목 색인(예: 배열)과 일치하며 만약 색인 일치가 발견되지 않으면 일치하는 레이블을 검색합니다. 이것은 특히 제시된 선택 항목이 숫자일 경우 혼란을 유발할 수 있습니다.
이를 더 잘 이해하려면 아래 선택 항목에서 숫자를 선택하도록 질문 요소를 생성하십시오.
0
1
2
3
다음은 내부 색인이 이 값들을 가리키는 방법을 설명한 것입니다.
[1] -> 0
[2] -> 1
[3] -> 2
[4] -> 3
이제 사용자가 1이라는 값을 입력하면, 먼저 이 값들의 색인을 이용해 매칭합니다. 색인이 값 0과 일치하므로 해당 값이 반환됩니다. 마찬가지로, 2를 입력하면 값 1이 반환됩니다. 4의 경우 3이 반환되며 다음 값들도 같은 방식으로 처리됩니다.
이제 0을 입력하면 배열에 그러한 색인이 없으므로 해당하는 레이블을 확인합니다. 따라서 이제는 색인 1에 있는 레이블 0이 매칭됩니다. 이것은 의도한 동작입니다.
000396914

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.