Enable Chat History on Azure AI Studio with Azure Cosmos DB
Published Feb 08 2024 09:32 AM 2,429 Views

Azure AI Studio offers a feature that allows you to enable chat history for your web app users. This feature provides your users with access to their previous queries and responses, allowing them to easily reference past conversations. Check out the blog below for the full details on how to enable it today!  


Benefits of enabling chat history  

With Azure AI Studio, Developers can build a chatbot with cutting-edge models that draws on your own data for informed and custom responses to customers’ questions. In addition, you can incorporate multimodality - enabling your app to see, hear, and speak by pairing Azure OpenAI Service with Speech and Vision models. 




Streamline customer support: Chat history serves as a powerful ally for streamlining customer support services. By referencing past chat logs, support teams gain the ability to quickly find solutions for customers. This enhances the efficiency of issue resolution while enabling support agents to manage request volumes effectively leading to improved customer satisfaction. 

Data Analytics: Analyzing past interactions provides valuable insights into user behavior, preferences, and recurring issues. Armed with this data, you can make informed decisions to optimize user experiences, tailor content, and refine your application's performance. The analytics derived from chat history pave the way for data-driven strategies, ensuring your application evolves in tune with user needs and expectations.

Product Enhancements: By studying past interactions, you gain a comprehensive view of user feedback, pain points, and preferences. This user-centric insight becomes a compass for product enhancement. Whether it's refining features, addressing common concerns, or identifying opportunities for innovation, chat history becomes a valuable resource in the iterative process of improving your product for end-users. 


How to enable chat history? 

To enable chat history, deploy or redeploy your model as a web app using Azure AI Studio. Once completed, activate chat history by clicking the dedicated enablement button within the Azure AI Studio interface. With chat history enabled, users gain control over their interaction.  

In the top right corner, they can show or hide their chat history. When displayed, users can rename or delete conversations, giving full control of the chat history experience to users. Conversations are automatically ordered from newest to oldest, simplifying navigation. Each conversation is named based on the initial query, making it easy for users to locate and reference past interactions. 


Enabling chat history in Azure AI Studio can easily provide a valuable resource for your web app users, allowing them to easily reference past conversations and queries. 


Important!  Please note that enabling chat history with Azure Cosmos DB will incur additional charges for the storage used.  


About Azure AI Advantage Offer

Azure is the premier cloud platform for AI innovation. Businesses, driven by the digital-first ethos, increasingly rely on apps, turning many into software companies. Leveraging Azure's integrated stack, organizations gain a competitive edge, with scalable AI-powered apps offering superior performance, security, and efficiency. To help your AI learning journey, we are happy to introduce an offer to help new and existing Azure AI and GitHub Copilot customers save when using Azure Cosmos DB, by providing 40,000 Request Units per second (RU/s)[1] of Azure Cosmos DB for for 90 days. This is the equivalent of up to $6,000 in savings[2] for a customer. Learn more in our Azure AI Advantage blog!


About Azure Cosmos DB 

Azure Cosmos DB is a fully managed, serverless NoSQL database for high-performance applications of any size or scale. It is a multi-tenant, distributed, shared-nothing, horizontally scalable database that provides planet-scale NoSQL capabilities. It offers APIs for Apache Cassandra, MongoDB, Gremlin, Tables, and the Core (SQL) 

About Azure AI Studio 

Azure AI Studio is a trusted and inclusive platform that empowers developers of all abilities and preferences to innovate with AI and shape the future. Seamlessly explore, build, test, deploy, and manage AI innovations at scale. Integrate cutting-edge AI tools and models, prompt orchestration, app evaluation, model fine-tuning, and responsible AI practices. Directly from Azure AI Studio, interact with your projects in a code-first environment using the Azure AI SDK and Azure AI CLI.  


Version history
Last update:
‎Feb 12 2024 12:11 PM
Updated by: