Skip to content

Commit

Permalink
add meta lesson
Browse files Browse the repository at this point in the history
  • Loading branch information
koreyspace committed Oct 3, 2024
1 parent 8e37099 commit 19ff579
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions 21-meta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,7 @@ response = client.complete(
print(response.choices[0].message.content)
```

## Learning does not stop here, continue the Journey

After completing this lesson, check out our [Generative AI Learning collection](https://aka.ms/genai-collection?WT.mc_id=academic-105485-koreyst) to continue leveling up your Generative AI knowledge!

9 changes: 4 additions & 5 deletions 21-meta/python/githubmodels-assignment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,16 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 25,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The image shows a screenshot from a video or presentation about AI, with a woman on the left side and a catalog of models on the right side. The woman is wearing a gray hoodie and has blonde hair. She is visible from the chest up and appears to be speaking or presenting.\n",
"The image shows a woman on the left side of the frame, with a screenshot of a webpage on the right side. The woman has blonde hair and is wearing a dark-colored hoodie. She appears to be speaking or presenting something.\n",
"\n",
"The model catalog is titled \"MODEL CATALOG\" in large text at the top, with the subtitle \"Find the right model to build your custom AI solution\" below it. The catalog lists various models, including \"gpt-4,\" \"gpt-35-turbo-instruct,\" and \"mistralai-Mistral-Rx228-v0-1.\" Each model has a brief description and a button to view more information.\n",
"\n",
"At the bottom of the image, there is a blue bar with white text that reads \"Try it yourself\" and a URL that says \"https://ai.azure.com.\" The background of the image is white, with some colorful graphics and logos in the corners. Overall, the image appears to be a screenshot from a presentation or video about AI and machine learning, showcasing a catalog of models that can be used to build custom AI solutions.\n"
"On the right side of the image, there is a screenshot of a webpage titled \"MODEL CATALOG\" in large black text at the top. Below the title, there is a subtitle that reads, \"Find the right model to build your custom AI solution.\" The webpage has a white background with a blue border around it. There are several buttons and links on the page, including a search bar and a list of model names. The overall design of the webpage suggests that it is a platform for users to find and select AI models for their specific needs.\n"
]
}
],
Expand All @@ -179,6 +177,7 @@
"endpoint = \"https://models.inference.ai.azure.com\"\n",
"model_name = \"Llama-3.2-90B-Vision-Instruct\"\n",
"\n",
"\n",
"client = ChatCompletionsClient(\n",
" endpoint=endpoint,\n",
" credential=AzureKeyCredential(token),\n",
Expand Down

0 comments on commit 19ff579

Please sign in to comment.