Share via

How to shorten the url for reference document response

Muhammad Shuja 115 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.

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.

Azure OpenAI in Foundry Models

Answer accepted by question author

Anonymous
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?

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. navba-MSFT 27,625 Reputation points Microsoft Employee Moderator
    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.

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

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