You can review the guidelines mentioned in the development lifecycle document mentioned here. Basically, you have to use the generateAnswer API and with isTest field passed in the request check all questions that are unanswered and update them in your KB. Once you are satisfied with the response publish the same so your production app or bot responds with updated KB.
If an answer is helpful, please click on or upvote
which might help other community members reading this thread.