Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LINE x GEMINI in Python

Avatar for Punsiri Boonyakiat Punsiri Boonyakiat
April 11, 2025
150

LINE x GEMINI in Python

Avatar for Punsiri Boonyakiat

Punsiri Boonyakiat

April 11, 2025
Tweet

More Decks by Punsiri Boonyakiat

Transcript

  1. Agenda ชิลๆๆๆ สอนสร้าง LINE แชทบอท ด้วย Python พร้อมเชื่อมต่อ Gemini 1.

    Create LINE OA 2. Enable LINE Messaging API 3. Build LINE chatbot with LINE bot SDK python 4. Introduction to Gemini API 5. Connecting Gemini with LINE Chatbot 6. Q&A
  2. DEMO - Create LINE Official Account LINE OA Manager -

    https://manager.line.biz/ LINE OA Developer - https://developers.line.biz/ LINK: https://codelab.line.me/codelabs/chatbot-x-gemini/index.html#1 LINK: https://github.com/punsiriboo/line-x-gemini-python/tree/main/00-create-line-chatbot
  3. “LINE has Python SDK , that friendly to both Users

    and AI Developer” Why LINE Messaging API
  4. Gemini Access Tier Consumer Developer Gemini in Chat Gemini LIVE

    NotebookLM Gemini in Workspace Slide, Meet, Gmail Gemini for Google Cloud BigQuery, Logging, Looker Studio, Cloud Billing Google AI Studio Vertex AI Studio Vertex AI API UI (User Interface) API SDK
  5. • Supports Gemini 1.5 & above • Language support ◦

    Current: Python, Go, Java ◦ Future: JavaScript pip install google-genai from google import genai # Gemini Developer API client = genai.Client(api_key="YOUR_API_KEY") # Vertex AI API client = genai.Client( vertexai=True, project="your-project-id", location="us-central1", ) Google Gen AI SDK
  6. LINE x Gemini 1. Text Generation 2. Image Understanding 3.

    Audio Understanding 4. File Understanding