Custom question answering in Language Studio: line breaks from answer removed

Mark van Waardenburg 1 Reputation point
2022-05-03T14:11:45.123+00:00

Hi,

I have setup a bot / cognitive services using Language Studio and Custom Question Answering.

The bot in Teams works fine but in my answers somewhere the line breaks are removed.

For example the output from the bot in Teams is:

PDPL https://securiti.ai/saudi-arabia-personal-data-protection-law See also https://globaldataalliance.org/wp-content/uploads/2022/03/03292022gdasadatapro.pdf

In Language Studio while testing, the output is shown correctly:

PDPL

https://securiti.ai/saudi-arabia-personal-data-protection-law

See also

https://globaldataalliance.org/wp-content/uploads/2022/03/03292022gdasadatapro.pdf

Who can help?

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,035 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mark van Waardenburg 1 Reputation point
    2022-05-04T12:57:56.647+00:00

    Hi Yutong,

    I found that <br/> worked also. But thanks anyway.

    (it's quite nasty that the line breaks are removed because I am importing quite a large document to "custom question answering" and need to make manual corrections now to each entry.... (161 pairs)

    Kind regards
    Mark