
{"id":3136,"date":"2024-06-19T19:03:52","date_gmt":"2024-06-19T11:03:52","guid":{"rendered":"https:\/\/infernews.com\/?p=3136"},"modified":"2024-06-19T19:03:52","modified_gmt":"2024-06-19T11:03:52","slug":"10-%e8%a1%8c%e4%bb%a3%e7%a2%bc%e5%af%a6%e7%8f%be-rag","status":"publish","type":"post","link":"https:\/\/infernews.com\/blog\/10-%e8%a1%8c%e4%bb%a3%e7%a2%bc%e5%af%a6%e7%8f%be-rag\/","title":{"rendered":"10 \u884c\u4ee3\u78bc\u5be6\u73fe RAG"},"content":{"rendered":"<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"lyte-wrapper\" title=\"RAG from Scratch without any Frameworks\" style=\"width:853px;max-width:100%;margin:5px auto;\"><div class=\"lyMe\" id=\"WYL_bmduzd1oY7U\" itemprop=\"video\" itemscope itemtype=\"https:\/\/schema.org\/VideoObject\"><div><meta itemprop=\"thumbnailUrl\" content=\"https:\/\/infernews.com\/blog\/wp-content\/plugins\/wp-youtube-lyte\/lyteCache.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fbmduzd1oY7U%2Fhqdefault.jpg\" \/><meta itemprop=\"embedURL\" content=\"https:\/\/www.youtube.com\/embed\/bmduzd1oY7U\" \/><meta itemprop=\"duration\" content=\"PT11M21S\" \/><meta itemprop=\"uploadDate\" content=\"2024-06-18T10:45:02Z\" \/><\/div><meta itemprop=\"accessibilityFeature\" content=\"captions\" \/><div id=\"lyte_bmduzd1oY7U\" data-src=\"https:\/\/infernews.com\/blog\/wp-content\/plugins\/wp-youtube-lyte\/lyteCache.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fbmduzd1oY7U%2Fhqdefault.jpg\" class=\"pL\"><div class=\"tC\"><div class=\"tT\" itemprop=\"name\">RAG from Scratch without any Frameworks<\/div><\/div><div class=\"play\"><\/div><div class=\"ctrl\"><div class=\"Lctrl\"><\/div><div class=\"Rctrl\"><\/div><\/div><\/div><noscript><a href=\"https:\/\/youtu.be\/bmduzd1oY7U\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/infernews.com\/blog\/wp-content\/plugins\/wp-youtube-lyte\/lyteCache.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fbmduzd1oY7U%2F0.jpg\" alt=\"RAG from Scratch without any Frameworks\" width=\"853\" height=\"460\" \/><br \/>Watch this video on YouTube<\/a><\/noscript><meta itemprop=\"description\" content=\"In this video, I&#039;ll show you how to create a fully functional chat system using your own documents with just 10 lines of Python code. We&#039;ll dive into Retrieval Augmented Generation (RAG) without relying on frameworks like LangChain, LamaIndex, or vector stores such as Chroma. \ud83d\udcbb RAG Beyond Basics Course: https:\/\/prompt-s-site.thinkific.com\/courses\/rag LINKS: Colab: https:\/\/tinyurl.com\/cnufkeky Ben&#039;s X account: https:\/\/x.com\/bclavie Ragatouille\/ColBERT video: https:\/\/youtu.be\/kEgeegk9iqo Let&#039;s Connect: \ud83e\uddbe Discord: https:\/\/discord.com\/invite\/t4eYQRUcXB \u2615 Buy me a Coffee: https:\/\/ko-fi.com\/promptengineering |\ud83d\udd34 Patreon: https:\/\/www.patreon.com\/PromptEngineering \ud83d\udcbcConsulting: https:\/\/calendly.com\/engineerprompt\/consulting-call \ud83d\udce7 Business Contact: engineerprompt@gmail.com Become Member: http:\/\/tinyurl.com\/y5h28s6h \ud83d\udcbb Pre-configured localGPT VM: https:\/\/bit.ly\/localGPT (use Code: PromptEngineering for 50% off). Signup for Newsletter, localgpt: https:\/\/tally.so\/r\/3y9bb0 00:00 Introduction to Building a Chat System without Frameworks 00:26 Understanding Retrieval Augmented Generation (RAG) 02:12 Setting Up the Python Environment 03:39 Data Preparation and Chunking 05:12 Embedding the Chunks 06:31 Retrieving Relevant Chunks 08:53 Generating Responses with LLM 09:50 Advanced Techniques and Recommendations 11:15 Conclusion and Further Learning All Interesting Videos: Everything LangChain: https:\/\/www.youtube.com\/playlist?list=PLVEEucA9MYhOu89CX8H3MBZqayTbcCTMr Everything LLM: https:\/\/youtube.com\/playlist?list=PLVEEucA9MYhNF5-zeb4Iw2Nl1OKTH-Txw Everything Midjourney: https:\/\/youtube.com\/playlist?list=PLVEEucA9MYhMdrdHZtFeEebl20LPkaSmw AI Image Generation: https:\/\/youtube.com\/playlist?list=PLVEEucA9MYhPVgYazU5hx6emMXtargd4z\"><\/div><\/div><div class=\"lL\" style=\"max-width:100%;width:853px;margin:5px auto;\"><\/div><figcaption><\/figcaption><\/figure>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"googlesitekit_rrm_CAowvqSiDA:productID":"","footnotes":""},"categories":[27],"tags":[],"class_list":["post-3136","post","type-post","status-publish","format-standard","hentry","category-paper"],"_links":{"self":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/posts\/3136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/comments?post=3136"}],"version-history":[{"count":0,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/posts\/3136\/revisions"}],"wp:attachment":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/media?parent=3136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/categories?post=3136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/tags?post=3136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}