Create Your "ownGPT" in a Protected Way and Advance Its Potential (Part 4) - adding additional channels and take action on...
Published: 2023-10-01 11:37:42

---
title: Create Your "ownGPT" in a Protected Way and Advance Its Potential (Part 4) - adding additional channels and take action on...
published: true
date: 2023-09-30 07:06:41 UTC
tags: 
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mherc8a94szx7whzh1d2.jpg
canonical_url: https://the.cognitiveservices.ninja/create-your-owngpt-in-a-protected-way-and-advance-its-potential-part-4-adding-additional-channels-and-take-action-on-your-data
---
Photo by <a href="https://unsplash.com/@sadswim?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">ian dooley</a> on <a href="https://unsplash.com/photos/DuBNA1QMpPA?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
  
  

> **_Third part of a series  
> building the foundation -_**[**_part 1_**](https://the.cognitiveservices.ninja/create-your-owngpt-in-a-protected-way-and-advance-its-potential-part-2-incorporating-your-own-data-to-create-unique-experiences)**_&  
> adding your own data -_**[**_part 2_**](https://the.cognitiveservices.ninja/create-your-owngpt-in-a-protected-way-and-advance-its-potential-part-1-a-simple-web-chat-experience-targeting-chatgpt-through-aoai)**_&_**  
> **_adding a chat history -_** [**_part 3_**](https://the.cognitiveservices.ninja/create-your-owngpt-in-a-protected-way-and-advance-its-potential-part-3-activate-chat-history-for-adding-a-more-convenient-way-to-work)
> 
> **_was published before_**

## Motivation

You can deploy your model to Power Virtual Agents directly from Azure OpenAI Studio, allowing you to provide conversational experiences across various Microsoft Teams, websites, Power Platform solutions, Dynamics 365 Customer Service, and other Azure Bot Service channels. Power Virtual Agents serve as a conversational and generative AI platform, simplifying the process of creating, publishing, and deploying a bot to any number of channels.

Although Power Virtual Agents offer features that utilize Azure OpenAI, such as generative answers, deploying a model based on your data enables you to create a chatbot that responds using your information and connects it to the Power Platform. The tenant used in the Azure OpenAI service and Power Platform should be the same.

## Create a new Power Virtual Agents bot

In the same way, we added data to our "ownGPT" we will create the link to a new Power Virtual Agents bot.

- Go to Azure OpenAI Playground

- Choose "Chat" in the "Playground" and "Add own Data" utilizing the resources we already created in the step before (part 2 of this series)

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1694353207421/a9eb6b03-da9a-4bd5-9d4f-5e30d946b72c.png)

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1694353325990/70918b21-a834-4e07-84e9-8c5fb50fcfab.png)

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1694353388628/af25c2fe-82ed-4fc3-97e1-b15b810227e2.png)

- and then we click on "Deploy to" and choose "A new Power Virtual Agent bot"

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1694353398588/75338bc6-5b68-498a-9857-8fdf8105b389.png)

- We give our consent by clicking "Continue in Power Virtual Agents"

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1694353469219/5f6de7d7-ed89-41fe-a11d-11ff9dc50330.png)

> Note
> 
> Deploying to Power Virtual Agents from Azure OpenAI is only available to US regions.

## Work with the newly created bot

A conversational boosting system topic is automatically generated when the bot is created using Azure OpenAI Studio.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1694353820098/d0640205-1ca7-4cb7-b037-6b1640d73201.png)

In Power Virtual Agents, open the Data Source Configuration panel for your topic's generative answers node:

Open the Properties panel for the Create Generative Answers node and select Data Source.

On the Create Generative Answers node, select Edit under Data Sources.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1694353831425/3d51dbb1-4e88-4aae-908c-ebc1ce1c378d.png)

Edit the connection to the Azure OpenAI Service.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1694353841603/45d9053e-7dfe-445f-826b-ca3f160c309c.png)

Once you have finished entering sources, close the menu. Be sure to save any changes made to your topic.

The topic will now generate answers based on the information sources defined by your Azure OpenAI connection. You can add more nodes to the topic and work with the answers generated by the Azure OpenAI Connection. You might consider using the output in conjunction with a Power Automate Flow to perform actions such as sending emails, updating records, and so on.

> The information sources specified in the Generative Answers node will take precedence over those defined at the bot level, which will then serve as a fallback.

## Conclusion

Integrating your "ownGPT" with Power Virtual Agents allows you to create a tailored chatbot experience using your data and resources. By deploying your model directly from Azure OpenAI Studio, you can provide conversational experiences across various channels and platforms. With the addition of Power Automate, you can further enhance your chatbot's capabilities by automating tasks and actions based on the generated responses.