Say Goodbye to RAG! Build your own Streamlit App powered by Gemini 1.5 Pro's Multimodality 🚀

  Рет қаралды 3,732

Avi Patel

Avi Patel

Күн бұрын

Power of Gemini 1.5:
1. Natively multimodal
2. 1MM token context window
3. Built with transformer and MOE architecture
4. Can seamlessly analyze, classify and summarize large amounts of content within a given prompt
DOES NOT REQUIRE ANY RAG !!!
Links I promised in the video:
Gemini 1.5 document: goo.gle/Gemini...
My video breaking down Gemini 1.5: • Google releases Gemini...
Github repo for the code: github.com/mkt...
#ai #google #generativeai #streamlit #aitechnology #googlegemini

Пікірлер: 19
@zen-ashish
@zen-ashish 5 сағат бұрын
Thank you so much! This was really helpful-you made my day! :)
@aricoleman5802
@aricoleman5802 6 ай бұрын
Great video Keep up the good work
@AviPatel68
@AviPatel68 6 ай бұрын
Thank you! Appreciate your comment and encouragement.
@saeedzf
@saeedzf 5 ай бұрын
Great video, please make more, thanks.
@AviPatel68
@AviPatel68 5 ай бұрын
Thanks, will do!
@yvessoke8558
@yvessoke8558 4 ай бұрын
thanks
@GustiAndika-e6w
@GustiAndika-e6w 2 ай бұрын
RAG still necessary to augmented user personalize data that not available public
@victorkisala1279
@victorkisala1279 2 ай бұрын
Can you do a video for a beginners
@paolosorgente7097
@paolosorgente7097 5 ай бұрын
Great videos, Google has never given me confidence like creating agents for evaluating documents, something that Claude does very well, months ago you made a video on this use case... now with Gemini could it be better than Claude what do you say?
@AviPatel68
@AviPatel68 3 ай бұрын
I do believe Google DeepMind (Gemini) has the edge. Over the last many months, they have started to leverage some of their other own great work such as Mixture of Experts (MOE) architecture, etc. Personally, as long as Google has Demis Hassabis, they will continue to improve and do this the right way. My opinion.
@ruidinis75
@ruidinis75 5 ай бұрын
That's a awsome job. I do have a doubt, when I load 3 documents and ask a question it tends to talk just about 1 document, the first or the last, do you know why ? They are different documents
@AviPatel68
@AviPatel68 5 ай бұрын
Assuming you are using the non-VertexAI code then it's basically taking your 3 docs and stitching them together. if uploaded_files: text = "" for pdf in uploaded_files: pdf_reader = PdfReader(pdf) for page in pdf_reader.pages: text += page.extract_text() As good as Gemini 1.5 is, given how these docs are stitched it may provide response from 2 of the 3 reports. Try prompting like: what is said about the economy in each of the reports? break it down by each report. Providing the instruction to break it down by each report works for me, also perhaps try break it down by each of the 3 reports. Hope this helps.
@ruidinis75
@ruidinis75 5 ай бұрын
Can we have the type writer machine effect ? I hadd to create a function for that because the response is not a generator or stream type
@AviPatel68
@AviPatel68 5 ай бұрын
Set stream=True when calling for the response. Something like: response = model.generate_content([prompt], generation_config, stream=True). Hope this helps.
@insoo34
@insoo34 6 ай бұрын
Great video, thanks. Can I ask a question in error? Are path2 and path3 the same directory? I set path2 and path3 as my home directory and when I upload a pdf in path2 there is no error, but when I upload an image in path3 I get an error saying there is no image loaded. FileNotFoundError : [Errno 2] Why is this?
@basese83
@basese83 6 ай бұрын
me 2
@ruidinis75
@ruidinis75 5 ай бұрын
You just need to create a directory and make it copy the image in there and then pass that directory and it works just fine
@AviPatel68
@AviPatel68 5 ай бұрын
this was a work around i did to overcome the streamlit's file uploader. so, fpath is just the file name extracted when you upload the file/image. fpath2 is you providing the directory of the location of the images. fpath3 just puts together fpath2 and fpath. if the image i upload is bigcat.jpg, it's assigned to fpath. and if the directory where this image is located is /users/johndoe/images then fpath2 is equal to this directory. then, fpath3 puts these 2 things together so fpath3 would /users/johndoe/images/bigcat.jpg. i know it's confusing, if someone (which i know someone will) comes up with a more direct way to do it, please let us know. hope this helps.
@Emily-k7r
@Emily-k7r 2 ай бұрын
Isn't this one kind of RAG?
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Try this Before RAG. This New Approach Could Save You Thousands!
19:33
Prompt Engineering
Рет қаралды 20 М.
RAG with AI Search and .NET
25:34
dotnet
Рет қаралды 6 М.
RAG Python Chat Bot Fun: Gemini, Ollama, Streamlit Madness! 🤖
11:35
Streamlit Chatbot with AI Gemini
12:15
OxidiLilyCode
Рет қаралды 331
Building Production-Ready RAG Applications: Jerry Liu
18:35
AI Engineer
Рет қаралды 347 М.
Build a Python Web App to chat with your datasets using GenAI
4:23
Tech at Worldline
Рет қаралды 36 М.
How to use Streamlit And Gemini AI | Easy frontend for Gemini AI
5:52
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН