Posts

Showing posts from October, 2025

AI-900-Generative AI in Azure AI Foundry Portal

Image
  Generative AI in Azure AI Foundry Portal Step 1 : Go to the Microsoft Azure Portal and sign in using your credentials. Step 2 : In searchbar search for Azure AI Foundry. Step 3 : On the AI Foundry page select Create an AI Foundry Resource. Step 4 : Add details and click create. Step 5 : Click on Go to resource. Click on Go to Azure AI Foundry Portal. Step 6 : From sidebar go to the Playground. Step 7 : Select create new deployment and select from base models. In the searchbar search for gpt-4o. Click Confirm. Add details and click Deploy. Review every menu in Chat Playground. Add any sample Prompt. Go to the code section and review the code. import os import base64 from openai import AzureOpenAI from azure.identity import DefaultAzureCredential, get_bearer_token_provider endpoint = os.getenv("ENDPOINT_URL", "https://YOUR-RESOURCE-NAME.openai.azure.com/") deployment = os.getenv("DEPLOYMENT_NAME", "YOUR-DEPLOYMENT-NAME") # Initializ...

Notebook in Snowflake database

Image
  Notebook in Snowflake database Step 1 : Go to the projects section from the sidebar and select the notebook. Click on New Notebook. Add Details as shown in the image below. Step 2 : Click +markdown to add a Markdown cell. Step 3: Add the markdown cell title and details. After adding details, click on the Done editing button. Step 4 : Delete the example cells. Step 5 : Add one SQL cell. And add name. Step 6 : Add below given query. And click run button. Step 7 : Create a new SQL cell and name it and write select query. Step 8 : Create 3 more SQL cells. Step 9 : Rearrange the cells. Step 10 : Add queries and details in cells and run them. Notebooks can be used to share process flows with others. Step 11 : Add extra rows in the table. If you make a mistake, Step 12 : Send report. --Set your worksheet drop list role to ACCOUNTADMIN --Set your worksheet drop list database and schema to the location of your GRADER function -- DO NOT EDIT ANYTHING BELOW THIS LINE. THE CODE MUST BE...