How to build a PDF summarizer using AI - React JS Next.js

  Рет қаралды 15,776

Adrian Twarog

Adrian Twarog

Күн бұрын

I'll show how you can build a PDF summary App using AI. I'll use a plain CLI with Node JS and then I'll add a user interface with Next.js and React JS. The PDFs can have multiple pages and can summarize large documents with large language models using Octo AI.
Check out the full project at:
github.com/octoml/octoai-text...
Give OctoAI a try at: (Thanks to Octo AI for sponsoring the video!)
octoai.cloud/
Join the conversations happening on OctoAI's Discord here:
/ discord
00:00 - PDF Summary using AI
01:28 - CLI - Setup Octo AI API Key
02:22 - CLI - Setup Node JS Project
03:43 - CLI - Prepare API for Octo AI
05:26 - CLI - Prepare Client Terminal Prompting
07:58 - CLI - Setup PDF Parse Documents
11:52 - CLI - Summarize PDF and Export PDF to TXT
13:21 - Next.js - Setup Next JS User Interface
17:14 - Next.js - Setup basic API route for AI Summarization
18:25 - Next.js - Frontend API Call to Backend Route
19:44 - Next.js - Configure OctoAI API Package
21:42 - PDF Summarizer using AI CLI and UI Summary
#pdf #octoai #ai
Want to learn more? ⭐ Check out my courses! ⭐
📘 Teach Me Design - Course: www.enhanceui.com/
📚 OpenAI + GPT - Course & Templates: enhanceui.gumroad.com/
Software & Discounts:
💻 Screen Recorder: screenstudio.lemonsqueezy.com?aff=po745
✖ Editor X: www.editorx.com/adrian-twarog
🚾 Webflow: webflow.grsm.io/adrian
🌿 Envato: 1.envato.market/yRZjz2
🌿 Envato Elements: 1.envato.market/LP0OJZ
🔴 Elementor: elementor.com/adrian/?ref=23140
Computer Gear:
⬛ Monitor: amzn.to/3f9DOQI
⌨ Keyboard: amzn.to/3eA5UFD
🐁 Mouse: amzn.to/3xVJO8l
🎤 Mic: amzn.to/3hgCfms
📱 Tablet: amzn.to/3ewt7sa
💡 Lighting: amzn.to/3vOZeZY
💡 Key Lighting: amzn.to/3f6qP2f
Camera Equipment:
📷 Camera: amzn.to/3uCv4J9
📸 Primary Lens: amzn.to/3vT6wMm
📸 Secondary Lens: amzn.to/3tyqWIX
🎥 Secondary Camera: amzn.to/3o2zCGi
🎙 Camera Mic: amzn.to/33tCz9l
🎞 USB to HDMI: amzn.to/33yW9RE

Пікірлер: 14
@robertglover8022
@robertglover8022 2 ай бұрын
Just a talented demonstration of a powerful application tool for aspiring developers. Grade A+!
@ranasif
@ranasif 2 ай бұрын
Great video, your explantion simple and good, thanks!
@stealthhumor
@stealthhumor 2 ай бұрын
It's over my head no matter how simple it is.
@vladNMP
@vladNMP 2 ай бұрын
awesome work
@herbertk9266
@herbertk9266 Ай бұрын
Thank you
@eugenelmx
@eugenelmx 2 ай бұрын
Was the speech for this video also AI generated? No shade, just curious 😊
@bijeesraj007
@bijeesraj007 2 ай бұрын
I believe it’s not AI generated audio .
@AdrianTwarog
@AdrianTwarog 2 ай бұрын
Nope but I have tried it once: kzbin.info/www/bejne/m3i5d3ucnM2Ab6M
@opionetics
@opionetics Ай бұрын
what keyboard are you using ? I would like to buy the same.
@Steve-lu6ft
@Steve-lu6ft 2 ай бұрын
Can you show us how to do the same thing on our local machine if we download one of the Models from Hugging Face?
@sakaarian
@sakaarian 2 ай бұрын
I was also wondering how the code would differ if we used Google's models
@denizorsel1029
@denizorsel1029 2 ай бұрын
So far whatever I tried didn't work in the sense of providing good summary due to TOKEN limits. My source document is a 250kilobytes txt file so nothing fancy. When I ask a question it randomly succeeds thus. Used paid OpenAI , other models .. nothing works production quality.
@AdrianTwarog
@AdrianTwarog 2 ай бұрын
The CLI i created actually breaks down larger documents into chunks, and then those chucks are summarised. I would say that is the ideal way to achieve this.
@danlater
@danlater 2 ай бұрын
just and ad to a service, good editing though
I used AI to Automatically Generate Websites Without Coding
3:33
Adrian Twarog
Рет қаралды 78 М.
OpenAI Embeddings and Vector Databases Crash Course
18:41
Adrian Twarog
Рет қаралды 371 М.
The World's Fastest Cleaners
00:35
MrBeast
Рет қаралды 157 МЛН
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 4,2 МЛН
Sigma Girl Education #sigma #viral #comedy
00:16
CRAZY GREAPA
Рет қаралды 2 МЛН
Surprise Gifts #couplegoals
00:21
Jay & Sharon
Рет қаралды 33 МЛН
the new PS4 jailbreak is sort of hilarious
12:21
Low Level Learning
Рет қаралды 289 М.
How to use Microsoft Azure AI Studio and Azure OpenAI models
16:37
Adrian Twarog
Рет қаралды 36 М.
Connect ChatGPT to your SQL Database in 5 minutes
11:24
AINIRO
Рет қаралды 9 М.
React Server Components Made Easy(With Examples and Demo)
43:53
tapaScript by Tapas Adhikary
Рет қаралды 12 М.
Unitree G1: The AI Humanoid Revolutionizing Robotics
4:57
AI Revolution
Рет қаралды 1,3 М.
How good is the latest version of ChatGPT? | BBC News
23:16
BBC News
Рет қаралды 127 М.
Turning Your AI Application into a Profitable SaaS Business
1:15:27
JavaScript Mastery
Рет қаралды 289 М.
Купите ЭТОТ БЮДЖЕТНИК вместо флагманов от Samsung, Xiaomi и Apple!
13:03
Thebox - о технике и гаджетах
Рет қаралды 76 М.
Вы поможете украсть ваш iPhone
0:56
Romancev768
Рет қаралды 633 М.
Best Gun Stock for VR gaming. #vr #vrgaming  #glistco
0:15
Glistco
Рет қаралды 8 МЛН
Apple, как вас уделал Тюменский бренд CaseGuru? Конец удивил #caseguru #кейсгуру #наушники
0:54
CaseGuru / Наушники / Пылесосы / Смарт-часы /
Рет қаралды 4 МЛН