How to shorten the url for reference document response

Muhammad Shuja 85 Reputation points
2023-12-19T03:52:41.3366667+00:00

Hi

Using Azure OpenAI with Azure AI Search to build Chatbot. When we get response from OpenAI, there's this unique feature from Azure, to provide response file url link. It looks quite big and ugly as the response. Is there a way to shorten this url ?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
751 questions
Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
727 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,213 questions
{count} votes

1 additional answer

Sort by: Most helpful
  1. navba-MSFT 17,360 Reputation points Microsoft Employee
    2023-12-19T04:29:11.3566667+00:00

    @Muhammad Shuja Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    You cannot update the url references from Azure Open AI response. Also you cannot remove the reference links now. You can try to customize the experience with the web app to some extent though.

    https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/use-your-data#web-app-customization

    If you are NOT using the Microsoft webapp chatbot code and using a third party webapp/custom developed webapp project using the Azure OpenAI Service APIs directly, then you have significant freedom in how you choose to present the root message and citations information. A quickstart sample which shows a rudimentary example of that is here.

    Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.

    1 person found this answer helpful.