Using LLM API in Python to Generate Summaries | Python AI Tutorial
Kylie Ying Kylie Ying
64.7K subscribers
11,445 views
0

 Published On Nov 19, 2023

FlexiSpot Black Friday Sale has begun! Up to 60% OFF! You can get an extra $30 off on the E7, E7 pro standing desk, and C7 ergonomic chair using my code ''Flexispot30''.
FlexiSpot E7 standing desk: (US) https://bit.ly/49BZ1xQ | (Canada) https://bit.ly/49yREr0

Large language models (LLMs) like OpenAI's ChatGPT, Google's Bard, and Meta's LLaMA have grown in popularity over the past year, but how can we use this artificial intelligence (AI) to help us in day-to-day life?

In this python AI tutorial, I'll teach you how to use the Python Pyppeteer library to web scrape reviews from Google Reviews. Then, after we've scraped these reviews, we will use the the PaLM (LLM) API to summarize them, so we don't have to read them all!

Code: https://github.com/kying18/palm-api-p...

Timestamps:
00:00 Intro
00:37 Overview of Large Language Models (LLMs)
03:15 Generating PaLM API key
05:50 Scraping Google Reviews with Pyppeteer
19:01 Using LLM API
26:19 Code Clean-up
27:21 Example and Debugging
29:49 Project Extension Ideas

Music:
Guiton Sketch by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. https://creativecommons.org/licenses/...

Feel free to leave any questions.

Please consider subscribing if you liked this video: https://www.youtube.com/c/ycubed?sub_...

Thanks for watching everyone!
~~~~~~~~~~~~~~~~~~~~~~~~
Follow me on Instagram:   / kylieyying  
Follow me on Twitter:   / kylieyying  
Check out my website: https://www.kylieying.com

show more

Share/Embed