Incorrect link present in answer generated by Custom question answering

Aman Ahlawat 0 Reputation points Microsoft Employee
2023-03-20T18:50:04.99+00:00

Added link https://learn.microsoft.com/en-us/microsoft-365/compliance/compliance-manager-templates-modify?view=o365-worldwide as source for Custom question answering.

Links are present in source contentUser's image

as seen in the image.

In source document, Edit the main template attributes points to https://learn.microsoft.com/en-us/microsoft-365/compliance/compliance-manager-templates-modify?view=o365-worldwide#edit-the-main-template-attributes

Whereas the link present in the Question Answer list in Knowledge Source and what's being returned by the chatbot is https://webchat.botframework.com/embed/CmAssist-bot/gemini?b=CmAssist-bot&s=SECRET_NAME&username=You#edit-the-main-template-attributes

(Applies to other href present below Edit the main template attributes)

I need the link present in the documentation to be generated in the answer.
User's image

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
354 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,371 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 41,961 Reputation points Microsoft Employee
    2023-03-23T16:57:20.76+00:00

    @Aman Ahlawat Did you try to edit the KB and update the links correctly? While adding source links to a KB the extraction process might not pick up all links correctly, you can review the KB and then update the links correctly in KB and redeploying the bot with updated endpoint. It should be of the following markdown format in the KB Q&A pair.

    How do I create a bot with [question answering](https://language.cognitive.azure.com/)?

    Also, did you check if the same query while testing using the language studio returns the same incorrect links? If this is the case then the above update should help.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments