Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
5.88k stars 4.02k forks source link

Best way to show content like telephone numbers, email addresses, physical address and URL's as clickable links? #1391

Open amarpatel-xx opened 6 months ago

amarpatel-xx commented 6 months ago

What is the best parser and prompt to achieve the above? I have a FAQ scenario where some answers may contain contact information or URL's and want them displayed as clickable links. I tried to use a prompt saying display the information as links; in conjunction, I tried to embed HTML anchor tags in the sources (I used the JSON parser), but sometimes part of the link href gets cut off when displayed.

bp3000bp commented 2 months ago

I am also curious about how to do this but i think you have to use their format template for issues in order for them to address it