DEV Community

Toluwani Oluwaloseyi
Toluwani Oluwaloseyi

Posted on

How to Upload a Letter in ChatGPT to Azure Storage Account and Share the URL

Image description

Azure Storage Account is a storage account that is a resource that acts as a container that groups all the data services from Azure storage (Azure blobs, Azure files, Azure Queues, and Azure Tables). This helps us manage all of them as a group. The policies we specify while creating the storage account or making changes after the creation applies to all the services inside the account. Deleting a storage account deletes all the storage services deployed and the data stored inside it.
The storage account provides a unique namespace for your Azure Storage data that's accessible from anywhere in the world over HTTP or HTTPS. Data in your storage account is durable and highly available, secure, and massively scalable.

ChatGPT(Chat Generative Pre-trained Transformer)is the latest breakthrough in AI research.It is tweaked to perform a variety of tasks — from responding to inquiries to producing text pieces and even reciting poetry — ChatGPT has quickly become one of the most powerful tools available for natural-language processing.
ChatGPT stands out from other AI chatbots due to its exceptional skill in comprehending and responding to human language. This is attributed to its extensive training on a dataset of human language, granting the bot an uncanny ability for replicating how humans converse with one another. Thus, ChatGPT not only understands but also responds articulately and naturally when asked questions or prompted.

Create a Storage Account:
Steps To Create Azure Storage Account:

Step 1:

Visit portal.azure.com, login or sign up if you don't have an account, you can get a free account at azure.microsoft.com/en-us/free/

Step 2:

Click on Storage Accounts or select Storage accounts from the left portal menu.

Image description

Step 3:

Click on "Create"

Image description

Step 4:

Subscription: Choose the subscription where you wish to create the resource.
Resource group: Choose the resource group where you wish to create the resource. If you wish to create a new group click on create a new option.
Storage account name: Enter a globally unique storage account.
Region: Select the location where you wish to create the account.
Performance: Choose from standard or premium based on your requirements.
Click Review

Image description

Step 5:

Click on Create

Image description

Step 6:
Storage account is created

Click on 'Go to resource' to view

Image description

Step 7:

Click on Containers

Image description

Step 8:

Click on "+ Containers"

Image description

Step 9:

Name: Choose the name of the kind of document you want to share. We will use "mylovletter" for this demo.
Public access level: Change to Blob which allows you to share the document with anyone.
"Click on Create"

Image description

Step 10:

Go to https://chat.openai.com/chat
In the chat session, write what you want ChatGPT to do for you. - For this demo, we will use 'Write a love letter to my mother'. Note that you can write whatever you want.
Press "Enter" to view result

Image description

Step 11:

Click on the document you created to access it

Image description

Step 12:

Copy the result of your entry in chatGPT to Google docs or Microsoft Word and save data as PDF.
Save document in any file. Eg download, desktop or document file in your computer.
Go back to your Azure portal
Click on Upload
Drag and drop file or browse for file
Choose any name for your container
Upload

Step 13:

Click on Upload and the 'Upload blob' on the right pops out
Either drag and drop file or browse for file
Upload

Image description

Step 14:

Click on your file and the right side of the screen pops out
Click and copy the link to share the URL

Image description

As simple as ABC!!!
You have successfully uploaded a letter to your Azure Storage Account and shared the linked.

Thank you for reading...

Top comments (0)