Resource of free step by step video how to guides to get you started with machine learning.
Saturday, May 4, 2024
Python RAG Tutorial | AI For PDF using Python
💼 Book a meeting: https://cutt.ly/gwmvJbPQ In this video we will build a python chat with pdf/document script using Google Gemini API, Langchain & ChromaDB. We will take a look at implementing a fully functional retrieval augmented generation (RAG) system in Python. Our Python code will allow us to convert any PDF/Document into vector embeddings and then store them in a vector database such as Chroma DB. Afterwards, we will learn how to use these embeddings coupled with the users query and Google Gemini API to perform retrieval augment generation or RAG for short. The concepts covered will help you implement any chat with document system using Python. Furthermore, you will learn all of the best practices when it comes to working with Python, ChromaDB, Langchain & Gemini API. This is an excellent guide for beginner Python/ML developers, or anyone looking to learn about RAG based chat/document chat using a large language model such as Gemini Pro from Google. Resources: Source Code: https://cutt.ly/ceq4tmmC Lanchain: https://python.langchain.com/docs/get_started/introduction/ ChromaDB: https://www.trychroma.com/ PyPDF: https://pypi.org/project/pypdf/ Sentence Transformers: https://pypi.org/project/sentence-transformers/ Google Generative AI: https://pypi.org/project/google-generativeai/ Gemini API: https://ai.google.dev/ Socials: Website: https://hussainmustafa.com Github: https://github.com/hussain-mustafa990 LinkedIn: https://www.linkedin.com/in/hussain-mustafa-960920184/ Twitter: https://twitter.com/Hussain34274892 Buy Me A Coffee: https://www.buymeacoffee.com/hussainmustafa #flutter #learnflutter #fluttersqflite #fluttertutorialforbeginners
Labels:
generative AI,
google gemini,
python gemini api,
python langchain,
python llm chatbot,
python llm projects,
python rag,
rag application python,
rag python tutorial,
Retrieval augmented generation
Published by Free artificial intelligence and machine learning video tutorial resource
Related video tutorials
Subscribe to:
Post Comments (Atom)
Most watched
-
Quick answer: Qwen 3 32B needs about 22.7 GB of VRAM at Q4_K_M with a 4k-token context — a used 24 GB card like the RTX 3090 is the minimu...
-
Using GPUs in TensorFlow, TensorBoard in notebooks, finding new datasets, & more! (#AskTensorFlow) [Collection] In a special live ep...
-
Inside TensorFlow: Summaries and TensorBoard [Collection] Take an inside look into the TensorFlow team’s own internal training sessions-...
-
Quick answer: For an 8B model at Q4, local electricity costs roughly $0.05 per million output tokens — against about $0.53 per million ble...
-
Quick answer: For machine-learning work, buy an external SSD over a spinning hard drive, pick USB 3.2 Gen 2 (10 Gbps) or faster, and size f...
-
Quick answer: DeepSeek V4 Flash is a Mixture-of-Experts model: all 284 billion parameters must be stored, so combined RAM plus VRAM — not ...
-
Quick answer: Yes, for most budget builders: a used RTX 3090 is still the cheapest route to 24 GB of VRAM with full CUDA support. Capacity...
-
Hey everyone This is Ujjwal kapil B.tech 2nd year Ai and Ml In this video we covered one of the most important question "COLLEGE KAB O...
-
Quick answer: The cheapest path to serious local-AI VRAM is not one new flagship card — it is two used ones. A single RTX 5090 costs $1,999...
-
Quick answer: FLUX.1 dev needs about 10 GB of VRAM at Q4/NF4 quantization for 1024×1024 image generation, so a 12 GB GPU such as the GeFor...
No comments:
Post a Comment