flashrag-dev 0.1.4.dev20250326__tar.gz → 0.1.4.dev20250410__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/PKG-INFO +2 -1
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/README.md +1 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/reranker.py +1 -1
- flashrag_dev-0.1.4.dev20250410/flashrag/version.py +1 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag_dev.egg-info/PKG-INFO +2 -1
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag_dev.egg-info/requires.txt +3 -3
- flashrag_dev-0.1.4.dev20250326/flashrag/version.py +0 -1
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/LICENSE +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/config/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/config/basic_config.yaml +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/config/config.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/dataset/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/dataset/dataset.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/dataset/utils.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/evaluator/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/evaluator/_bleu.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/evaluator/evaluator.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/evaluator/metrics.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/evaluator/utils.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/generator/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/generator/fid.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/generator/generator.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/generator/multimodal_generator.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/generator/openai_generator.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/generator/stop_word_criteria.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/generator/utils.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/judger/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/judger/judger.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/pipeline/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/pipeline/active_pipeline.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/pipeline/branching_pipeline.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/pipeline/mm_pipeline.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/pipeline/pipeline.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/pipeline/reasoning_pipeline.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/pipeline/replug_utils.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/prompt/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/prompt/base_prompt.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/prompt/mm_prompt.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/prompt/selfask_examplars.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/prompt/trace_examplars.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/refiner/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/refiner/kg_refiner.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/refiner/llmlingua_compressor.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/refiner/refiner.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/refiner/selective_context_compressor.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/__main__.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/encoder.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/index_builder.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/retriever.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/utils.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/utils/__init__.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/utils/constants.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/utils/pred_parse.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/utils/utils.py +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag_dev.egg-info/SOURCES.txt +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag_dev.egg-info/dependency_links.txt +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag_dev.egg-info/top_level.txt +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/pyproject.toml +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/setup.cfg +0 -0
- {flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: flashrag_dev
|
|
3
|
-
Version: 0.1.4.
|
|
3
|
+
Version: 0.1.4.dev20250410
|
|
4
4
|
Summary: A library for efficient Retrieval-Augmented Generation research
|
|
5
5
|
Home-page: https://github.com/RUC-NLPIR/FlashRAG
|
|
6
6
|
Author: Jiajie Jin, Yutao Zhu, Chenghao Zhang, Xinyu Yang, Zhicheng Dou
|
|
@@ -94,6 +94,7 @@ FlashRAG is still under development and there are many issues and room for impro
|
|
|
94
94
|
- [ ] Inlcude more RAG approaches
|
|
95
95
|
- [ ] Add more evaluation metrics (e.g., Unieval, name-entity F1) and benchmarks (e.g., RGB benchmark)
|
|
96
96
|
- [ ] Enhance code adaptability and readability
|
|
97
|
+
- [ ] Add support for api-based retriever (vllm server)
|
|
97
98
|
|
|
98
99
|
## :page_with_curl: Changelog
|
|
99
100
|
[25/03/21] We have added support for **Reasoning Pipeline**, which is a new paradigm that combines reasoning ability and retrieval, representing work that includes [Search-o1](https://github.com/sunnynexus/Search-o1), [R1-Searcher](https://github.com/SsmallSong/R1-Searcher), [ReSearch](https://github.com/Agent-RL/ReSearch). We evaluate the performance of the pipeline on various RAG benchmarks, it can achieve F1 scores close to 60 on multi hop inference datasets such as Hotpotqe. See it in [**result table**](#robot-supporting-methods).
|
|
@@ -77,6 +77,7 @@ FlashRAG is still under development and there are many issues and room for impro
|
|
|
77
77
|
- [ ] Inlcude more RAG approaches
|
|
78
78
|
- [ ] Add more evaluation metrics (e.g., Unieval, name-entity F1) and benchmarks (e.g., RGB benchmark)
|
|
79
79
|
- [ ] Enhance code adaptability and readability
|
|
80
|
+
- [ ] Add support for api-based retriever (vllm server)
|
|
80
81
|
|
|
81
82
|
## :page_with_curl: Changelog
|
|
82
83
|
[25/03/21] We have added support for **Reasoning Pipeline**, which is a new paradigm that combines reasoning ability and retrieval, representing work that includes [Search-o1](https://github.com/sunnynexus/Search-o1), [R1-Searcher](https://github.com/SsmallSong/R1-Searcher), [ReSearch](https://github.com/Agent-RL/ReSearch). We evaluate the performance of the pipeline on various RAG benchmarks, it can achieve F1 scores close to 60 on multi hop inference datasets such as Hotpotqe. See it in [**result table**](#robot-supporting-methods).
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/reranker.py
RENAMED
|
@@ -44,7 +44,7 @@ class BaseReranker:
|
|
|
44
44
|
doc_list = [doc_list]
|
|
45
45
|
|
|
46
46
|
assert len(query_list) == len(doc_list)
|
|
47
|
-
if topk
|
|
47
|
+
if topk > min([len(docs) for docs in doc_list]):
|
|
48
48
|
warnings.warn("The number of doc returned by the retriever is less than the topk.")
|
|
49
49
|
|
|
50
50
|
# get doc contents
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.4dev20250410"
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag_dev.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: flashrag-dev
|
|
3
|
-
Version: 0.1.4.
|
|
3
|
+
Version: 0.1.4.dev20250410
|
|
4
4
|
Summary: A library for efficient Retrieval-Augmented Generation research
|
|
5
5
|
Home-page: https://github.com/RUC-NLPIR/FlashRAG
|
|
6
6
|
Author: Jiajie Jin, Yutao Zhu, Chenghao Zhang, Xinyu Yang, Zhicheng Dou
|
|
@@ -94,6 +94,7 @@ FlashRAG is still under development and there are many issues and room for impro
|
|
|
94
94
|
- [ ] Inlcude more RAG approaches
|
|
95
95
|
- [ ] Add more evaluation metrics (e.g., Unieval, name-entity F1) and benchmarks (e.g., RGB benchmark)
|
|
96
96
|
- [ ] Enhance code adaptability and readability
|
|
97
|
+
- [ ] Add support for api-based retriever (vllm server)
|
|
97
98
|
|
|
98
99
|
## :page_with_curl: Changelog
|
|
99
100
|
[25/03/21] We have added support for **Reasoning Pipeline**, which is a new paradigm that combines reasoning ability and retrieval, representing work that includes [Search-o1](https://github.com/sunnynexus/Search-o1), [R1-Searcher](https://github.com/SsmallSong/R1-Searcher), [ReSearch](https://github.com/Agent-RL/ReSearch). We evaluate the performance of the pipeline on various RAG benchmarks, it can achieve F1 scores close to 60 on multi hop inference datasets such as Hotpotqe. See it in [**result table**](#robot-supporting-methods).
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag_dev.egg-info/requires.txt
RENAMED
|
@@ -16,7 +16,7 @@ transformers>=4.40.0
|
|
|
16
16
|
bm25s[core]==0.2.0
|
|
17
17
|
fschat
|
|
18
18
|
streamlit
|
|
19
|
-
chonkie
|
|
19
|
+
chonkie<1.1.0,>=1.0.2
|
|
20
20
|
gradio>=5.0.0
|
|
21
21
|
rouge-chinese
|
|
22
22
|
jieba
|
|
@@ -40,7 +40,7 @@ transformers>=4.40.0
|
|
|
40
40
|
bm25s[core]==0.2.0
|
|
41
41
|
fschat
|
|
42
42
|
streamlit
|
|
43
|
-
chonkie
|
|
43
|
+
chonkie<1.1.0,>=1.0.2
|
|
44
44
|
gradio>=5.0.0
|
|
45
45
|
rouge-chinese
|
|
46
46
|
jieba
|
|
@@ -64,7 +64,7 @@ transformers>=4.40.0
|
|
|
64
64
|
bm25s[core]==0.2.0
|
|
65
65
|
fschat
|
|
66
66
|
streamlit
|
|
67
|
-
chonkie
|
|
67
|
+
chonkie<1.1.0,>=1.0.2
|
|
68
68
|
gradio>=5.0.0
|
|
69
69
|
rouge-chinese
|
|
70
70
|
jieba
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.4dev20250326"
|
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/config/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/config/basic_config.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/dataset/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/dataset/dataset.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/evaluator/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/evaluator/_bleu.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/evaluator/evaluator.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/evaluator/metrics.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/evaluator/utils.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/generator/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/generator/generator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/generator/utils.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/judger/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/pipeline/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/pipeline/mm_pipeline.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/pipeline/pipeline.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/pipeline/replug_utils.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/prompt/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/prompt/base_prompt.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/prompt/mm_prompt.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/prompt/trace_examplars.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/refiner/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/refiner/kg_refiner.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/refiner/refiner.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/__main__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/encoder.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/retriever.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/retriever/utils.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/utils/__init__.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/utils/constants.py
RENAMED
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag/utils/pred_parse.py
RENAMED
|
File without changes
|
|
File without changes
|
{flashrag_dev-0.1.4.dev20250326 → flashrag_dev-0.1.4.dev20250410}/flashrag_dev.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|