ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

📌 Explore Generative AI with Gemini API: Challenge Lab | Gen AI Program by Google

Автор: Chinmay Desle

Загружено: 2025-08-29

Просмотров: 216

Описание: Welcome to another advanced hands-on walkthrough from the Generative AI Exchange Program by Google Cloud and Hack2Skill! 🚀

In this video, we tackle the Gemini API Challenge Lab, where we explore how to use Gemini for dynamic prompt-response workflows using REST API and streaming. You’ll gain experience in using tools like curl and Google’s GenAI SDK to send and manage prompts from real-world apps.

⏱️ Timestamps:
00:00 Introduction
01:15 Task 1. Generate text using Gemini
06:00 Task 2. Open the notebook in Vertex AI Workbench
14:10 Task 3. Create a function call using Gemini
17:30 Task 4. Describe video contents using Gemini

🔍 What you'll learn in this video:

How to call Gemini API using cURL and REST

Difference between generateContent and generate_content_stream

Installing and using the Vertex AI Python SDK

Managing authentication and request formatting

Submitting your Challenge Lab and earning your badge

🧰 Key Commands Used in This Video:

🔹 Install Vertex AI SDK:

pip3 install --upgrade --user google-cloud-aiplatform

🔹 Make an API call using curl:

curl -X POST \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
-d '{ "contents": [ { "role": "USER", "parts": { "text": "Why is the sky blue?" } } ] }' \
https://${API_ENDPOINT}/v1/projects/${PROJECT_ID}/locations/${LOCATION}/publishers/google/models/gemini-2.0-flash-001:generateContent

🔹 Stream API Method Used:

generate_content_stream

📖 Also check out my Medium blog on completing the Rich Document + Multimodal RAG lab:
👉   / completed-inspect-rich-documents-with-gemi...  

🎓 Course Link:
👉 https://www.cloudskillsboost.google/c...

👉 Don’t forget to like, share, and subscribe — more GenAI walkthroughs, tutorials, and real-world labs coming soon!

#Hack2Skill #vertexai #geminiapi #challengelab #GoogleGenAI #generateContent #googlecloud #aiexchangeprogram #promptengineering #buildwithgemini #cURL #PythonSDK #genai

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
📌 Explore Generative AI with Gemini API: Challenge Lab | Gen AI Program by Google

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]