Тёмный

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

Avi Patel
Подписаться 119
Просмотров 1,7 тыс.
50% 1

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

Опубликовано:

 

9 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@paolosorgente7097
@paolosorgente7097 4 дня назад
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?
@saeedzf
@saeedzf 12 дней назад
Great video, please make more, thanks.
@AviPatel68
@AviPatel68 10 дней назад
Thanks, will do!
@aricoleman5802
@aricoleman5802 Месяц назад
Great video Keep up the good work
@AviPatel68
@AviPatel68 Месяц назад
Thank you! Appreciate your comment and encouragement.
@ruidinis75
@ruidinis75 26 дней назад
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 10 дней назад
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.
@insoo34
@insoo34 Месяц назад
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?
@user-uq4mc9yu8t
@user-uq4mc9yu8t 29 дней назад
me 2
@ruidinis75
@ruidinis75 26 дней назад
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 10 дней назад
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.
@ruidinis75
@ruidinis75 26 дней назад
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 10 дней назад
Set stream=True when calling for the response. Something like: response = model.generate_content([prompt], generation_config, stream=True). Hope this helps.
Далее
Gemini 1.5 Pro Tested - The WORST Frontier Model Yet
12:18
Your Most Requested Streamlit Features FINALLY Out!
8:29
Create Your Own AI Person (For Free)
23:33
Просмотров 319 тыс.