Posts

Showing posts from 2023

Power Virtual Agent: Integrate OpenAI and Maintain Conversation History

Image
Power Virtual Agent (PVA) and Power Automate Flow offer powerful tools for building chatbots and automating tasks. By combining these tools with OpenAI's capabilities, you can create chatbots that provide personalized and engaging interactions while maintaining a history of the conversation. Maintaining conversation history is a crucial aspect of building intelligent chatbots and virtual assistants powered by OpenAI. A chatbot that remembers past interactions can provide more personalized and context-aware responses, resulting in a smoother and more engaging user experience. In this blog post, I'll walk you through the process of maintaining conversation history while interacting with OpenAI's language model, enabling your chatbot to understand and respond to users more effectively. Why OpenAI in Power Virtual Agent and Power Automate Flow? Integrating OpenAI into your Power Virtual Agent and Power Automate Flow brings several benefits to your organization:...

CRM Portals: Validate Email Exists during "Forgot Password"

Image
CRM portals offer an Out of the Box "Forgot Password" feature, but what if I told you there's a hidden vulnerability? Problem: CRM Portal requests the user to provide an email address in order to send a password reset link. However, it doesn't perform a thorough check to verify if the email entered truly exists within Dataverse or not but sends this message that email has been send to reset the password. Solution: Create a Content Snippet  Name - Account/ForgotPassword/PageCopy Website - <your website name> Display Name - Forgot Password Type - HTML Content Snippet Language - English Now, hide out of the box button and create your own button inside the script tag.           // Hide and modify the button         $('#submit-forgot-password').hide();         $('#submit-forgot-password').after('<input class="btn btn-primary" type="button" value="Send"              ...

Integrate MS Teams with Azure OpenAI

Image
Integration between Teams and Azure OpenAI can be done by following a few steps. Create Azure OpenAI Service in Azure Portal   Sign into Azure Portal at htt ps://portal.azure.com/ and select Azure OpenAI and before you can create a c ognitive s ervice , you would need to submit approval document for subscription and pricing tier. Once the document is approved, you will be granted access to create a cognitive service .   Go to OpenAI Studio at https://oai.azure.com/ with credentials that have access to your OpenAI resource.   Select the subscription and OpenAI resource to work with.   Select Manage deployments in your resource and Go to Deployments under Manage your deployments and models. You might first need to scroll down on the landing page.   Deploy a model using the Deployment APIs. These APIs allow you to specify the model you wish to use.   Once you create an Azure OpenAI Resource, you must deploy a model before you can start making API...