<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>RAG | YWC 科技筆記</title><description>YWC 科技筆記：RAG</description><link>https://ywctech.net/</link><language>zh-tw</language><item><title>進階 RAG 技巧 - 改變使用者問題 Transform Query</title><link>https://ywctech.net/posts/beyond-naive-rag-query-transformation/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/beyond-naive-rag-query-transformation/</guid><description>要怎麼改變使用者的問題來提升 RAG 生成的效果？本文介紹多種策略，包括 HyDE、Self-querying Retrieval、Step-back Prompting、Least-to-most Prompting 以及 RAG Fusion，這些方法能優化查詢、提高檢索精準度，並改善最終回應品質</description><pubDate>Sat, 30 Nov 2024 16:00:00 GMT</pubDate><category>RAG</category><category>Search</category></item><item><title>進階 RAG 技巧 - 到底 RAG 是什麼？</title><link>https://ywctech.net/posts/beyond-naive-rag-summary-intro/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/beyond-naive-rag-summary-intro/</guid><description>RAG 雖然概念是搜尋後生成，但萬一效果不好怎麼辦？這系列文整理了一些文獻，讓你的 RAG 不僅僅是 Embedding + Vector DB + LLM</description><pubDate>Fri, 29 Nov 2024 16:00:00 GMT</pubDate><category>RAG</category><category>Search</category></item><item><title>取代關鍵字匹配 -- Sparse Vector 與 BM42</title><link>https://ywctech.net/posts/replace-keyword-match-by-sparse-vector/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/replace-keyword-match-by-sparse-vector/</guid><description>關鍵字搜尋有很多挑戰，用正常 embedding 化作向量又失去了解釋性。有一些手法可取代 BM25: SPLADE 或 BM42</description><pubDate>Thu, 04 Jul 2024 16:00:00 GMT</pubDate><category>Search</category><category>RAG</category><category>Embedding</category></item><item><title>RAG 跟傳統搜尋不一樣的地方</title><link>https://ywctech.net/posts/difference-between-search-and-rag/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/difference-between-search-and-rag/</guid><description>有人說 RAG 就是用了 vector database -- 錯，這不一定。讓我告訴你傳統搜尋 (search) 跟檢索增強生成 (RAG) 不同的兩個點</description><pubDate>Sat, 29 Jun 2024 16:00:00 GMT</pubDate><category>Search</category><category>RAG</category></item><item><title>LangChain 與 LlamaIndex 比較 - RAG 多輪對話</title><link>https://ywctech.net/posts/langchain-vs-llamaindex-rag-chat/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/langchain-vs-llamaindex-rag-chat/</guid><description>LangChain vs. LlamaIndex，這次以「多輪對話中使用 RAG」探討兩者的異同、特性。這是一系列的比較，讓你更了解該選擇 LangChain 還是 LlamaIndex</description><pubDate>Wed, 29 May 2024 16:00:00 GMT</pubDate><category>LangChain</category><category>LlamaIndex</category><category>RAG</category></item><item><title>LangChain 與 LlamaIndex 比較 - Naive RAG</title><link>https://ywctech.net/posts/langchain-vs-llamaindex-naive-rag/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/langchain-vs-llamaindex-naive-rag/</guid><description>LangChain vs. LlamaIndex，從 RAG 的問答引擎為例子來探討兩者的異同、特性。這是一系列的比較，讓你更了解該選擇 LangChain 還是 LlamaIndex</description><pubDate>Mon, 27 May 2024 16:00:00 GMT</pubDate><category>LangChain</category><category>LlamaIndex</category><category>RAG</category></item><item><title>LlamaIndex 學習筆記 - Streamlit 做 RAG chatbot UI</title><link>https://ywctech.net/posts/llamaindex-adhoc-note-streamlit-ui/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/llamaindex-adhoc-note-streamlit-ui/</guid><description>LlamaIndex 做好 RAG 的函數/API 後，利用 Streamlit 做出漂亮介面，讓我們能跟 ChatGPT 一樣真的打字對話！</description><pubDate>Wed, 24 Apr 2024 16:00:00 GMT</pubDate><category>RAG</category><category>LlamaIndex</category><category>Streamlit</category></item><item><title>LlamaIndex 學習筆記 - 餵資料之 IngestionPipeline</title><link>https://ywctech.net/posts/llamaindex-adhoc-note-ingestion-pipeline/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/llamaindex-adhoc-note-ingestion-pipeline/</guid><description>在用 LlamaIndex 做 RAG 時，用 IngestionPipeline 把資料轉化成文件，並餵進去向量資料庫 vector db，更清楚更多功能</description><pubDate>Tue, 23 Apr 2024 16:00:00 GMT</pubDate><category>RAG</category><category>LlamaIndex</category></item><item><title>LlamaIndex 學習筆記 - Instrumentation 檢查每階段在做啥</title><link>https://ywctech.net/posts/llamaindex-adhoc-note-instrumentation/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/llamaindex-adhoc-note-instrumentation/</guid><description>RAG 有很多階段，用 LlamaIndex 時要如何知道在這流水線上的每階段發生了什麼事？</description><pubDate>Sun, 14 Apr 2024 16:00:00 GMT</pubDate><category>RAG</category><category>LlamaIndex</category></item><item><title>LlamaIndex 學習筆記 - 使用不同的 Embedding model</title><link>https://ywctech.net/posts/llamaindex-adhoc-note-use-embedding-model/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/llamaindex-adhoc-note-use-embedding-model/</guid><description>RAG 找相關知識的其中一種技巧會利用 embedding -- 是用模型計算的，而 LlamaIndex 可以讓你使用自己想要的 embedding model</description><pubDate>Sun, 14 Apr 2024 16:00:00 GMT</pubDate><category>RAG</category><category>LlamaIndex</category></item><item><title>LlamaIndex 學習筆記 - 餵資料與 Vector DB</title><link>https://ywctech.net/posts/llamaindex-adhoc-note-etl-and-vectordb/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/llamaindex-adhoc-note-etl-and-vectordb/</guid><description>在用 LlamaIndex 做 RAG 時，連接到外部的向量資料庫 vector db，並且可選擇用 LlamaIndex 完成資料 ETL 輸入資料庫</description><pubDate>Sat, 13 Apr 2024 16:00:00 GMT</pubDate><category>RAG</category><category>LlamaIndex</category></item><item><title>LlamaIndex 學習筆記 - 產生回答</title><link>https://ywctech.net/posts/llamaindex-adhoc-note-response-generation/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/llamaindex-adhoc-note-response-generation/</guid><description>如何利用 LlamaIndex 做 RAG，而且挑選自己想要的 LLM 以及調整 prompt</description><pubDate>Fri, 12 Apr 2024 16:00:00 GMT</pubDate><category>RAG</category><category>LlamaIndex</category></item><item><title>LlamaIndex 與 OpenAI model 的版號</title><link>https://ywctech.net/posts/llamaindex-openai-version/</link><guid isPermaLink="false">https://ywctech.net/ml-ai/llamaindex-openai-version/</guid><description>提醒讀者在用 LlamaIndex 呼叫 OpenAI LLM 時，要注意 library 版號</description><pubDate>Thu, 11 Apr 2024 16:00:00 GMT</pubDate><category>RAG</category><category>OpenAI</category><category>LlamaIndex</category></item></channel></rss>