Is it true that the answer can be searched in the Get FAQs API and KG search bar?

Is it true that the answer can be searched in the Get FAQs API and KG search bar?

I am using the XO platform in Korean on jp server.
I am using the API and KG search box, but it seems that I cannot search for responses in Korean.

I wonder which one is correct.
thank you

Hi @minces92 ,

Thank you for reaching out to Kore.ai Community

Please refer to the below documentation for more information on Get FAQs API

Also, could you please share us the relevant screenshots of the response which you are seeing after using the API

Thank you,
Srujan Madderla
Kore.ai Community Team

Hello srujan.madderla

First of all, sorry for the late reply.

Previously, we also tested it based on the document you shared.

The Search parameter says:
Used to search the KG using the reference id or display name.

In other words, there is no such thing as looking for a response.

But I’m sharing the results of my testing.

Currently, the bot has one FAQ in Korean and one FAQ in English.

And when you test it, search retrieves the corresponding keyword in the answer in English, but

{
“statusCode”: 200,
“body”: {
“faqs”: [
{
“_id”: “6577b6945a5d6754abb2b775”,
“subAnswers”: ,
“faqStatus”: true,
“editLocked”: false,
“isPublished”: false,
“faqLinkedBy”: ,
“questionPayload”: {
“question”: “English response FAQ”,
“tagsPayload”:
},
“knowledgeTaskId”: “6577b653ed53780bb05673c4”,
“subQuestions”: ,
“responseType”: “message”,
“streamId”: “st-c8ea5bf2-f379-5736-94fa-4ec7315d4ec8”,
“parent”: “2b564a8e-e53e-4141-83fa-8b6a35e8ab53”,
“leafterm”: “KGAPISearchResponse”,
“label”: “English response FAQ”,
“answerPayload”: [
{
“_id”: “mt-75f44faa-86e0-54ca-85cc-5943e9869035”,
“channel”: “default”,
“streamId”: “st-c8ea5bf2-f379-5736-94fa-4ec7315d4ec8”,
“lModBy”: “u-2d24e77b-951f-5e23-9dbe-ab01e18fc4a1”,
“lMod”: “Tue Dec 12 2023 01:25:40 GMT+0000 (Coordinated Universal Time)”,
“createdBy”: “u-2d24e77b-951f-5e23-9dbe-ab01e18fc4a1”,
“createdOn”: “Tue Dec 12 2023 01:25:40 GMT+0000 (Coordinated Universal Time)”,
“text”: “%EC%98%81%EC%96%B4%20%EC%9D%91%EB%8B%B5%20%EC%9E%90%EC%A3%BC%20%EB%AC%BB%EB%8A%94%20%EC%A7%88%EB%AC%B8”,
“type”: “basic”
}
],
“language”: “ko”,
“createdBy”: “u-2d24e77b-951f-5e23-9dbe-ab01e18fc4a1”,
“lastModifiedBy”: “u-2d24e77b-951f-5e23-9dbe-ab01e18fc4a1”,
“createdOn”: “2023-12-12T01:25:40.404Z”,
“modifiedOn”: “2023-12-12T01:25:40.404Z”,
“sortId”: 1702344340404,
“botName”: “KGAPISearchResponse”,
“refId”: “7926ff69-5b55-508b-8d5b-3476ad74fcb5”,
“__v”: 0
},
{
“_id”: “6577b677a719650bc4309f55”,
“subAnswers”: ,
“faqStatus”: true,
“editLocked”: false,
“isPublished”: false,
“faqLinkedBy”: ,
“questionPayload”: {
“question”: “영어 응답 자주 묻는 질문”,
“tagsPayload”:
},
“knowledgeTaskId”: “6577b653ed53780bb05673c4”,
“subQuestions”: ,
“responseType”: “message”,
“streamId”: “st-c8ea5bf2-f379-5736-94fa-4ec7315d4ec8”,
“parent”: “2b564a8e-e53e-4141-83fa-8b6a35e8ab53”,
“leafterm”: “KGAPISearchResponse”,
“label”: “영어 응답 자주 묻는 질문”,
“answerPayload”: [
{
“_id”: “mt-e8a5e0a9-2079-5204-8293-b2f5bae9c31c”,
“channel”: “default”,
“streamId”: “st-c8ea5bf2-f379-5736-94fa-4ec7315d4ec8”,
“lModBy”: “u-2d24e77b-951f-5e23-9dbe-ab01e18fc4a1”,
“lMod”: “Tue Dec 12 2023 01:25:11 GMT+0000 (Coordinated Universal Time)”,
“createdBy”: “u-2d24e77b-951f-5e23-9dbe-ab01e18fc4a1”,
“createdOn”: “Tue Dec 12 2023 01:25:11 GMT+0000 (Coordinated Universal Time)”,
“text”: “English%20response%20FAQ”,
“type”: “basic”
}
],
“language”: “ko”,
“createdBy”: “u-2d24e77b-951f-5e23-9dbe-ab01e18fc4a1”,
“lastModifiedBy”: “u-2d24e77b-951f-5e23-9dbe-ab01e18fc4a1”,
“createdOn”: “2023-12-12T01:25:11.513Z”,
“modifiedOn”: “2023-12-12T01:25:11.513Z”,
“sortId”: 1702344311513,
“botName”: “KGAPISearchResponse”,
“refId”: “3a1fbd39-19ad-5356-a96d-eb66076d7848”,
“__v”: 0
}
],
“moreAvailable”: false,
“count”: 2
},
“headers”: {
“date”: “Tue, 12 Dec 2023 01:33:22 GMT”,
“content-type”: “application/json; charset=utf-8”,
“transfer-encoding”: “chunked”,
“connection”: “close”,
“vary”: “Accept-Encoding”,
“server”: “KoreServer/”,
“access-control-allow-methods”: “GET,POST,PUT”,
“access-control-allow-headers”: “Authorization,Content-Type,X-Requested-With,X-HTTP-Method-Override,X-UserToken,X-Timezone-Offset,smartassist,state,X-Request-Id,bot-language,app-language,accountid,iId”,
“access-control-allow-credentials”: “true”,
“access-control-allow-origin”: “",
“pid”: “3026”,
“x-traceid”: “48fe231d-7d72-45cd-a66d-104178ce86b3”,
“x-frame-options”: “sameorigin”,
“content-security-policy”: "frame-ancestors https://
.smartassist.ai https://.kore.ai https://.korebots.com https://kore.ai https://.force.com https://.zendesk.com https://.mypurecloud.com https://.mypurecloud.jp https://.usw2.pure.cloud https://.onbmc.com https://.workspace.ai https://.kore.ai https://.kore.com; script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’ https://.kore.ai https://.force.com https://.zendesk.com https://.mypurecloud.com https://.mypurecloud.jp https://.usw2.pure.cloud https://.onbmc.com https://.pendo.io https://.appcues.com https://.inlinemanual.com https://inlinemanual.com https://cdn.mxpnl.com https://www.google-analytics.com https://maps.googleapis.com https://canny.io https://js.hs-scripts.com https://www.googletagmanager.com https://.grammarly.com https://*.grammarly.io https://unpkg.com/”,
“x-content-type-options”: “nosniff”,
“x-xss-protection”: “1; mode=block”,
“pragma”: “no-cache, no-store”,
“cache-control”: “no-cache, no-store”,
“strict-transport-security”: “max-age=31536000; includeSubdomains;”,
“referrer-policy”: “strict-origin-when-cross-origin”,
“content-encoding”: “gzip”
}
}

In Korean, search is retrieved only from the display name, as shown in the search parameter description in the document.

{“response”:{“statusCode”:200,“body”:{“faqs”:[{“_id”:“6577b677a719650bc4309f55”,“subAnswers”:,“faqStatus”:true,“editLocked”:false,“isPublished”:false,“faqLinkedBy”:,“questionPayload”:{“question”:“영어 응답 자주 묻는 질문”,“tagsPayload”:},“knowledgeTaskId”:“6577b653ed53780bb05673c4”,“subQuestions”:,“responseType”:“message”,“streamId”:“st-c8ea5bf2-f379-5736-94fa-4ec7315d4ec8”,“parent”:“2b564a8e-e53e-4141-83fa-8b6a35e8ab53”,“leafterm”:“KGAPISearchResponse”,“label”:“영어 응답 자주 묻는 질문”,“answerPayload”:[{“_id”:“mt-e8a5e0a9-2079-5204-8293-b2f5bae9c31c”,“channel”:“default”,“streamId”:“st-c8ea5bf2-f379-5736-94fa-4ec7315d4ec8”,“lModBy”:“u-2d24e77b-951f-5e23-9dbe-ab01e18fc4a1”,“lMod”:“Tue Dec 12 2023 01:25:11 GMT+0000 (Coordinated Universal Time)”,“createdBy”:“u-2d24e77b-951f-5e23-9dbe-ab01e18fc4a1”,“createdOn”:“Tue Dec 12 2023 01:25:11 GMT+0000 (Coordinated Universal Time)”,“text”:“English%20response%20FAQ”,“type”:“basic”}],“language”:“ko”,“createdBy”:“u-2d24e77b-951f-5e23-9dbe-ab01e18fc4a1”,“lastModifiedBy”:“u-2d24e77b-951f-5e23-9dbe-ab01e18fc4a1”,“createdOn”:“2023-12-12T01:25:11.513Z”,“modifiedOn”:“2023-12-12T01:25:11.513Z”,“sortId”:1702344311513,“botName”:“KGAPISearchResponse”,“refId”:“3a1fbd39-19ad-5356-a96d-eb66076d7848”,“__v”:0}],“moreAvailable”:false,“count”:2},“headers”:{“date”:“Tue, 12 Dec 2023 01:42:54 GMT”,“content-type”:“application/json; charset=utf-8”,“content-length”:“1276”,“connection”:“close”,“server”:“KoreServer/”,“access-control-allow-methods”:“GET,POST,PUT”,“access-control-allow-headers”:“Authorization,Content-Type,X-Requested-With,X-HTTP-Method-Override,X-UserToken,X-Timezone-Offset,smartassist,state,X-Request-Id,bot-language,app-language,accountid,iId”,“access-control-allow-credentials”:“true”,“access-control-allow-origin”:"",“pid”:“3026”,“x-traceid”:“16aceb6e-83c4-428c-9022-9dae940d449a”,“x-frame-options”:“sameorigin”,“content-security-policy”:"frame-ancestors https:// .smartassist.ai https://.kore.ai https:// .korebots.com https://kore.ai https://.force.com https:// .zendesk.com https://.mypurecloud.com https:// .mypurecloud.jp https://.usw2.pure.cloud https:// .onbmc.com https://.workspace.ai https:// .kore.ai https://.kore.com; script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’ https:// .kore.ai https://.force.com https:// .zendesk.com https://.mypurecloud.com https:// .mypurecloud.jp https://.usw2.pure.cloud https:// .onbmc.com https://.pendo.io https:// .appcues.com https://.inlinemanual.com https://inlinemanual.com https://cdn.mxpnl.com https://www.google-analytics.com https://maps.googleapis.com https://canny.io https://js.hs-scripts.com https://www.googletagmanager.com https:// .grammarly.com https://*.grammarly.io https://unpkg.com/",“x-content-type-options”:“nosniff”,“x-xss-protection”:“1; mode=block”,“pragma”:“no-cache, no-store”,“cache-control”:“no-cache, no-store”,“strict-transport-security”:“max-age=31536000; includeSubdomains;”,“referrer-policy”:“strict-origin-when-cross-origin”}}}

Please confirm what is normal.

thank you