self rag
self rag

Written by
虎哥(微信:hugeaitop)
我是AI领域知识学习的小学生,大家一起来学AI哈!
我们探索了改进 RAG 的各种方法:更好的分块、添加上下文、转换查询、重新排名,甚至纳入反馈。但是,如果最好的技术取决于所问问题的类型呢?这就是自适应 RAG 背后的想法。 源代码 https://github.com/CrazyAndy/rag-all-techniques/blob/main/app/11_adaptive.py 我们在这里使用四种不同的策略: Factual Strategy: Focuses on retrieving precise fact...