
{"id":2101,"date":"2024-04-22T02:03:02","date_gmt":"2024-04-21T18:03:02","guid":{"rendered":"https:\/\/infernews.com\/?p=2101"},"modified":"2024-05-23T05:53:57","modified_gmt":"2024-05-22T21:53:57","slug":"reliable-fully-local-rag-agents-with-llama3-youtube","status":"publish","type":"post","link":"https:\/\/infernews.com\/blog\/reliable-fully-local-rag-agents-with-llama3-youtube\/","title":{"rendered":"\u53ef\u9760\u3001\u5b8c\u5168\u672c\u5730\u5316\u7684 RAG \u4ee3\u7406\u8207 LLaMA3"},"content":{"rendered":"<p>\u96a8\u8457 LLaMA3 \u7684\u767c\u5e03\uff0c\u4eba\u5011\u5c0d\u80fd\u5920\u5728\u672c\u5730\u53ef\u9760\u904b\u884c\uff08\u4f8b\u5982\uff0c\u5728\u7b46\u8a18\u578b\u96fb\u8166\u4e0a\uff09\u7684\u4ee3\u7406\u7522\u751f\u4e86\u6fc3\u539a\u7684\u8208\u8da3\u3002\u5728\u9019\u88e1\uff0c\u6211\u5011\u5c55\u793a\u5982\u4f55\u4f7f\u7528 LangGraph \u548c LLaMA3-8b \u5f9e\u982d\u958b\u59cb\u5efa\u7acb\u53ef\u9760\u7684\u672c\u5730\u4ee3\u7406\u3002\u6211\u5011\u5c07 3 \u7bc7\u9ad8\u7d1a RAG \u8ad6\u6587\uff08Adaptive RAG\u3001Corritive RAG \u548c Self-RAG\uff09\u7684\u60f3\u6cd5\u7d50\u5408\u5230\u4e00\u500b\u63a7\u5236\u6d41\u7a0b\u4e2d\u3002\u6211\u5011\u5728\u672c\u5730\u4f7f\u7528\u672c\u5730\u5411\u91cf\u5132\u5b58 c\/o @nomic_ai \u548c @trychroma\u3001\u7528\u65bc\u7db2\u8def\u641c\u5c0b\u7684 @tavilyai \u4ee5\u53ca\u900f\u904e @ollama \u904b\u884c LLaMA3-8b\u3002<\/p>\n\n<div class=\"vlp-link-container vlp-layout-spotlight-clone wp-block-visual-link-preview-link\"><a href=\"https:\/\/github.com\/langchain-ai\/langgraph\/blob\/main\/examples\/rag\/langgraph_rag_agent_llama3_local.ipynb\" class=\"vlp-link\" title=\"(\u82f1)rag\/langgraph_rag_agent_llama3_local.ipynb\" rel=\"nofollow\" target=\"_blank\"><\/a><div class=\"vlp-layout-zone-main\"><span class=\"vlp-block-0 vlp-link-title\">(\u82f1)rag\/langgraph_rag_agent_llama3_local.ipynb<\/span><div class=\"vlp-block-1 vlp-link-summary\">Build resilient language agents as graphs. Contribute to langchain-ai\/langgraph development by creating an account on GitHub.<\/div><div class=\"vlp-block-2 vlp-link-image\"><img decoding=\"async\" src=\"https:\/\/opengraph.githubassets.com\/423668ea8fc659544b8bec39753bbaa8e5d196fb892f2fc5f9115bacd6fd041e\/langchain-ai\/langgraph\" style=\"max-width: 1024px; max-height: 1024px\" \/><\/div><\/div><\/div>\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"lyte-wrapper\" title=\"Reliable, fully local RAG agents with LLaMA3\" style=\"width:853px;max-width:100%;margin:5px auto;\"><div class=\"lyMe\" id=\"WYL_-ROS6gfYIts\" 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%2F-ROS6gfYIts%2Fhqdefault.jpg\" \/><meta itemprop=\"embedURL\" content=\"https:\/\/www.youtube.com\/embed\/-ROS6gfYIts\" \/><meta itemprop=\"duration\" content=\"PT21M19S\" \/><meta itemprop=\"uploadDate\" content=\"2024-04-19T15:27:22Z\" \/><\/div><div id=\"lyte_-ROS6gfYIts\" data-src=\"https:\/\/infernews.com\/blog\/wp-content\/plugins\/wp-youtube-lyte\/lyteCache.php?origThumbUrl=https%3A%2F%2Fi.ytimg.com%2Fvi%2F-ROS6gfYIts%2Fhqdefault.jpg\" class=\"pL\"><div class=\"tC\"><div class=\"tT\" itemprop=\"name\">Reliable, fully local RAG agents with LLaMA3<\/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\/-ROS6gfYIts\" 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%2F-ROS6gfYIts%2F0.jpg\" alt=\"Reliable, fully local RAG agents with LLaMA3\" width=\"853\" height=\"460\" \/><br \/>Watch this video on YouTube<\/a><\/noscript><meta itemprop=\"description\" content=\"With the release of LLaMA3, we&#039;re seeing great interest in agents that can run reliably and locally (e.g., on your laptop). Here, we show to how build reliable local agents using LangGraph and LLaMA3-8b from scratch. We combine ideas from 3 advanced RAG papers (Adaptive RAG, Corrective RAG, and Self-RAG) into a single control flow. We run this locally w\/ a local vectorstore c\/o @nomic_ai &amp; @trychroma, @tavilyai for web search, and LLaMA3-8b via @ollama. Code: https:\/\/github.com\/langchain-ai\/langgraph\/blob\/main\/examples\/rag\/langgraph_rag_agent_llama3_local.ipynb\"><\/div><\/div><div class=\"lL\" style=\"max-width:100%;width:853px;margin:5px auto;\"><\/div><figcaption><\/figcaption><\/figure>","protected":false},"excerpt":{"rendered":"<p>\u96a8\u8457 LLaMA3 \u7684\u767c\u5e03\uff0c\u4eba\u5011\u5c0d\u80fd\u5920\u5728\u672c\u5730\u53ef\u9760\u904b\u884c\uff08\u4f8b\u5982\uff0c\u5728\u7b46\u8a18\u578b\u96fb\u8166\u4e0a\uff09\u7684\u4ee3\u7406\u7522\u751f\u4e86\u6fc3\u539a\u7684\u8208\u8da3\u3002\u5728\u9019\u88e1\uff0c\u6211\u5011\u5c55\u793a\u5982\u4f55\u4f7f\u7528 LangGraph \u548c LLaMA3-8b \u5f9e\u982d\u958b\u59cb\u5efa\u7acb\u53ef\u9760\u7684\u672c\u5730\u4ee3\u7406\u3002\u6211\u5011\u5c07 3 \u7bc7\u9ad8\u7d1a RAG \u8ad6\u6587\uff08Adaptive RAG\u3001Corritive RAG \u548c Self-RAG\uff09\u7684\u60f3\u6cd5\u7d50\u5408\u5230\u4e00\u500b\u63a7\u5236\u6d41\u7a0b\u4e2d\u3002\u6211\u5011\u5728\u672c\u5730\u4f7f\u7528\u672c\u5730\u5411\u91cf\u5132\u5b58 c\/o @nomic_ai \u548c @trychroma\u3001\u7528\u65bc\u7db2\u8def\u641c\u5c0b\u7684 @tavilyai \u4ee5\u53ca\u900f\u904e @ollama \u904b\u884c LLaMA3-8b\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"googlesitekit_rrm_CAowvqSiDA:productID":"","footnotes":""},"categories":[23],"tags":[],"class_list":["post-2101","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/posts\/2101","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=2101"}],"version-history":[{"count":0,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/posts\/2101\/revisions"}],"wp:attachment":[{"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/media?parent=2101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/categories?post=2101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infernews.com\/blog\/wp-json\/wp\/v2\/tags?post=2101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}