Describe the bug
if you have a bot with a default language in Arabic and trying to add Q&A in Arabic, the bot keeps raising an error "No answers found for language or default language en".
To Reproduce
Try to create a new Bot and then change the default language to Arabic; for example, try to add a new Q&A with an Arabic context and then train the bot.
When you try to ask the bot any question, even with an exact question that you put on Q&A, the bot is stuck, and an error is raised on Log.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS: [e.g. iOS, macOS, Windows]
Browser Safari
Browser Version 15.3
Botpress Version 12.26.13
Additional context
Error:
2022-04-18 13:45:35warnIncoming queue failed to process job: No answers found for language or default language en [Error, No answers found for language or default language en]
STACK TRACE
Error: No answers found for language or default language en
at QnaService._getQnaEntryPayloads (/snapshot/botpress/packages/bp/dist/core/qna/qna-service.js)
at QnaService._buildSuggestions (/snapshot/botpress/packages/bp/dist/core/qna/qna-service.js)
at QnaService._processEvent (/snapshot/botpress/packages/bp/dist/core/qna/qna-service.js)
at async handler (/snapshot/botpress/packages/bp/dist/core/qna/qna-service.js)
2022-04-18 13:45:35warnIncoming queue failed to process job: No answers found for language or default language en [Error, No answers found for language or default language en]
STACK TRACE
Error: No answers found for language or default language en
at QnaService._getQnaEntryPayloads (/snapshot/botpress/packages/bp/dist/core/qna/qna-service.js)
at QnaService._buildSuggestions (/snapshot/botpress/packages/bp/dist/core/qna/qna-service.js)
at QnaService._processEvent (/snapshot/botpress/packages/bp/dist/core/qna/qna-service.js)
at async handler (/snapshot/botpress/packages/bp/dist/core/qna/qna-service.js)
2022-04-18 13:45:35errorRetrying job within Incoming queue failed 2 times. Abandoning the job.
Describe the bug if you have a bot with a default language in Arabic and trying to add Q&A in Arabic, the bot keeps raising an error "No answers found for language or default language en".
To Reproduce Try to create a new Bot and then change the default language to Arabic; for example, try to add a new Q&A with an Arabic context and then train the bot. When you try to ask the bot any question, even with an exact question that you put on Q&A, the bot is stuck, and an error is raised on Log.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Error:
Bot Config: