How to shorten the url for reference document response

Muhammad Shuja 95 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.
841 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.
1,062 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,227 questions
{count} votes

Accepted answer
  1. Ashkan Radmand 75 Reputation points
    2024-01-17T23:24:43.6466667+00:00

    I'm dealing with the same issue where instead of file names, url's are shown for references.
    references

    But I've seen a video where references have file names: https://www.microsoft.com/en-us/videoplayer/embed/RW18YwQ?postJsllMsg=true So, I think it should be possible to show file names for references. Thoughts?

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. navba-MSFT 24,910 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.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.