flashrag-dev 0.1.4.dev20250223__tar.gz → 0.1.4.dev20250225__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.
Files changed (61) hide show
  1. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/PKG-INFO +20 -13
  2. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/README.md +19 -12
  3. flashrag_dev-0.1.4.dev20250225/flashrag/version.py +1 -0
  4. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag_dev.egg-info/PKG-INFO +20 -13
  5. flashrag_dev-0.1.4.dev20250223/flashrag/version.py +0 -1
  6. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/LICENSE +0 -0
  7. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/__init__.py +0 -0
  8. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/config/__init__.py +0 -0
  9. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/config/basic_config.yaml +0 -0
  10. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/config/config.py +0 -0
  11. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/dataset/__init__.py +0 -0
  12. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/dataset/dataset.py +0 -0
  13. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/dataset/utils.py +0 -0
  14. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/evaluator/__init__.py +0 -0
  15. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/evaluator/_bleu.py +0 -0
  16. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/evaluator/evaluator.py +0 -0
  17. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/evaluator/metrics.py +0 -0
  18. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/evaluator/utils.py +0 -0
  19. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/generator/__init__.py +0 -0
  20. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/generator/fid.py +0 -0
  21. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/generator/generator.py +0 -0
  22. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/generator/multimodal_generator.py +0 -0
  23. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/generator/openai_generator.py +0 -0
  24. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/generator/stop_word_criteria.py +0 -0
  25. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/generator/utils.py +0 -0
  26. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/judger/__init__.py +0 -0
  27. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/judger/judger.py +0 -0
  28. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/pipeline/__init__.py +0 -0
  29. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/pipeline/active_pipeline.py +0 -0
  30. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/pipeline/branching_pipeline.py +0 -0
  31. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/pipeline/mm_pipeline.py +0 -0
  32. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/pipeline/pipeline.py +0 -0
  33. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/pipeline/replug_utils.py +0 -0
  34. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/prompt/__init__.py +0 -0
  35. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/prompt/base_prompt.py +0 -0
  36. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/prompt/mm_prompt.py +0 -0
  37. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/prompt/selfask_examplars.py +0 -0
  38. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/prompt/trace_examplars.py +0 -0
  39. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/refiner/__init__.py +0 -0
  40. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/refiner/kg_refiner.py +0 -0
  41. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/refiner/llmlingua_compressor.py +0 -0
  42. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/refiner/refiner.py +0 -0
  43. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/refiner/selective_context_compressor.py +0 -0
  44. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/retriever/__init__.py +0 -0
  45. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/retriever/__main__.py +0 -0
  46. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/retriever/encoder.py +0 -0
  47. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/retriever/index_builder.py +0 -0
  48. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/retriever/reranker.py +0 -0
  49. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/retriever/retriever.py +0 -0
  50. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/retriever/utils.py +0 -0
  51. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/utils/__init__.py +0 -0
  52. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/utils/constants.py +0 -0
  53. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/utils/pred_parse.py +0 -0
  54. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag/utils/utils.py +0 -0
  55. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag_dev.egg-info/SOURCES.txt +0 -0
  56. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag_dev.egg-info/dependency_links.txt +0 -0
  57. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag_dev.egg-info/requires.txt +0 -0
  58. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/flashrag_dev.egg-info/top_level.txt +0 -0
  59. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/pyproject.toml +0 -0
  60. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/setup.cfg +0 -0
  61. {flashrag_dev-0.1.4.dev20250223 → flashrag_dev-0.1.4.dev20250225}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: flashrag_dev
3
- Version: 0.1.4.dev20250223
3
+ Version: 0.1.4.dev20250225
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
@@ -90,11 +90,13 @@ FlashRAG is still under development and there are many issues and room for impro
90
90
  - [x] Support OpenAI models
91
91
  - [x] Provdide instructions for each component
92
92
  - [x] Integrate sentence Transformers
93
+ - [x] Support multimodal RAG
93
94
  - [ ] Inlcude more RAG approaches
94
95
  - [ ] Add more evaluation metrics (e.g., Unieval, name-entity F1) and benchmarks (e.g., RGB benchmark)
95
96
  - [ ] Enhance code adaptability and readability
96
97
 
97
98
  ## :page_with_curl: Changelog
99
+ [25/02/24] 🔥🔥🔥 We have added support for **multimodal RAG**, including [**MLLMs like Llava, Qwen, InternVL**](https://ruc-nlpir.github.io/FlashRAG/#/zh-cn/component/generator?id=%e5%a4%9a%e6%a8%a1%e6%80%81%e7%94%9f%e6%88%90%e5%99%a8), and various [**multimodal retrievers with Clip architecture**](https://ruc-nlpir.github.io/FlashRAG/#/zh-cn/component/retriever?id=%e5%a4%9a%e6%a8%a1%e6%80%81%e6%a3%80%e7%b4%a2%e5%99%a8). More information can be found in our new version of arxiv article and our documentation. Try it!
98
100
 
99
101
  [25/01/21] Our technical paper [FlashRAG: A Python Toolkit for Efficient RAG Research](https://arxiv.org/abs/2405.13576) is honored to have been accepted to the Resource Track of the 2025 **ACM Web Conference (WWW 2025)**. Please Check it out!
100
102
 
@@ -678,17 +680,22 @@ Please kindly cite our paper if helps your research:
678
680
 
679
681
  ```BibTex
680
682
  @article{FlashRAG,
681
- author={Jiajie Jin and
682
- Yutao Zhu and
683
- Xinyu Yang and
684
- Chenghao Zhang and
685
- Zhicheng Dou},
686
- title={FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Research},
687
- journal={CoRR},
688
- volume={abs/2405.13576},
689
- year={2024},
690
- url={https://arxiv.org/abs/2405.13576},
691
- eprinttype={arXiv},
692
- eprint={2405.13576}
683
+ author = {Jiajie Jin and
684
+ Yutao Zhu and
685
+ Xinyu Yang and
686
+ Chenghao Zhang and
687
+ Zhicheng Dou},
688
+ title = {FlashRAG: {A} Modular Toolkit for Efficient Retrieval-Augmented Generation
689
+ Research},
690
+ journal = {CoRR},
691
+ volume = {abs/2405.13576},
692
+ year = {2024},
693
+ url = {https://doi.org/10.48550/arXiv.2405.13576},
694
+ doi = {10.48550/ARXIV.2405.13576},
695
+ eprinttype = {arXiv},
696
+ eprint = {2405.13576},
697
+ timestamp = {Tue, 18 Jun 2024 09:26:37 +0200},
698
+ biburl = {https://dblp.org/rec/journals/corr/abs-2405-13576.bib},
699
+ bibsource = {dblp computer science bibliography, https://dblp.org}
693
700
  }
694
701
  ```
@@ -73,11 +73,13 @@ FlashRAG is still under development and there are many issues and room for impro
73
73
  - [x] Support OpenAI models
74
74
  - [x] Provdide instructions for each component
75
75
  - [x] Integrate sentence Transformers
76
+ - [x] Support multimodal RAG
76
77
  - [ ] Inlcude more RAG approaches
77
78
  - [ ] Add more evaluation metrics (e.g., Unieval, name-entity F1) and benchmarks (e.g., RGB benchmark)
78
79
  - [ ] Enhance code adaptability and readability
79
80
 
80
81
  ## :page_with_curl: Changelog
82
+ [25/02/24] 🔥🔥🔥 We have added support for **multimodal RAG**, including [**MLLMs like Llava, Qwen, InternVL**](https://ruc-nlpir.github.io/FlashRAG/#/zh-cn/component/generator?id=%e5%a4%9a%e6%a8%a1%e6%80%81%e7%94%9f%e6%88%90%e5%99%a8), and various [**multimodal retrievers with Clip architecture**](https://ruc-nlpir.github.io/FlashRAG/#/zh-cn/component/retriever?id=%e5%a4%9a%e6%a8%a1%e6%80%81%e6%a3%80%e7%b4%a2%e5%99%a8). More information can be found in our new version of arxiv article and our documentation. Try it!
81
83
 
82
84
  [25/01/21] Our technical paper [FlashRAG: A Python Toolkit for Efficient RAG Research](https://arxiv.org/abs/2405.13576) is honored to have been accepted to the Resource Track of the 2025 **ACM Web Conference (WWW 2025)**. Please Check it out!
83
85
 
@@ -661,17 +663,22 @@ Please kindly cite our paper if helps your research:
661
663
 
662
664
  ```BibTex
663
665
  @article{FlashRAG,
664
- author={Jiajie Jin and
665
- Yutao Zhu and
666
- Xinyu Yang and
667
- Chenghao Zhang and
668
- Zhicheng Dou},
669
- title={FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Research},
670
- journal={CoRR},
671
- volume={abs/2405.13576},
672
- year={2024},
673
- url={https://arxiv.org/abs/2405.13576},
674
- eprinttype={arXiv},
675
- eprint={2405.13576}
666
+ author = {Jiajie Jin and
667
+ Yutao Zhu and
668
+ Xinyu Yang and
669
+ Chenghao Zhang and
670
+ Zhicheng Dou},
671
+ title = {FlashRAG: {A} Modular Toolkit for Efficient Retrieval-Augmented Generation
672
+ Research},
673
+ journal = {CoRR},
674
+ volume = {abs/2405.13576},
675
+ year = {2024},
676
+ url = {https://doi.org/10.48550/arXiv.2405.13576},
677
+ doi = {10.48550/ARXIV.2405.13576},
678
+ eprinttype = {arXiv},
679
+ eprint = {2405.13576},
680
+ timestamp = {Tue, 18 Jun 2024 09:26:37 +0200},
681
+ biburl = {https://dblp.org/rec/journals/corr/abs-2405-13576.bib},
682
+ bibsource = {dblp computer science bibliography, https://dblp.org}
676
683
  }
677
684
  ```
@@ -0,0 +1 @@
1
+ __version__ = "0.1.4dev20250225"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: flashrag-dev
3
- Version: 0.1.4.dev20250223
3
+ Version: 0.1.4.dev20250225
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
@@ -90,11 +90,13 @@ FlashRAG is still under development and there are many issues and room for impro
90
90
  - [x] Support OpenAI models
91
91
  - [x] Provdide instructions for each component
92
92
  - [x] Integrate sentence Transformers
93
+ - [x] Support multimodal RAG
93
94
  - [ ] Inlcude more RAG approaches
94
95
  - [ ] Add more evaluation metrics (e.g., Unieval, name-entity F1) and benchmarks (e.g., RGB benchmark)
95
96
  - [ ] Enhance code adaptability and readability
96
97
 
97
98
  ## :page_with_curl: Changelog
99
+ [25/02/24] 🔥🔥🔥 We have added support for **multimodal RAG**, including [**MLLMs like Llava, Qwen, InternVL**](https://ruc-nlpir.github.io/FlashRAG/#/zh-cn/component/generator?id=%e5%a4%9a%e6%a8%a1%e6%80%81%e7%94%9f%e6%88%90%e5%99%a8), and various [**multimodal retrievers with Clip architecture**](https://ruc-nlpir.github.io/FlashRAG/#/zh-cn/component/retriever?id=%e5%a4%9a%e6%a8%a1%e6%80%81%e6%a3%80%e7%b4%a2%e5%99%a8). More information can be found in our new version of arxiv article and our documentation. Try it!
98
100
 
99
101
  [25/01/21] Our technical paper [FlashRAG: A Python Toolkit for Efficient RAG Research](https://arxiv.org/abs/2405.13576) is honored to have been accepted to the Resource Track of the 2025 **ACM Web Conference (WWW 2025)**. Please Check it out!
100
102
 
@@ -678,17 +680,22 @@ Please kindly cite our paper if helps your research:
678
680
 
679
681
  ```BibTex
680
682
  @article{FlashRAG,
681
- author={Jiajie Jin and
682
- Yutao Zhu and
683
- Xinyu Yang and
684
- Chenghao Zhang and
685
- Zhicheng Dou},
686
- title={FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Research},
687
- journal={CoRR},
688
- volume={abs/2405.13576},
689
- year={2024},
690
- url={https://arxiv.org/abs/2405.13576},
691
- eprinttype={arXiv},
692
- eprint={2405.13576}
683
+ author = {Jiajie Jin and
684
+ Yutao Zhu and
685
+ Xinyu Yang and
686
+ Chenghao Zhang and
687
+ Zhicheng Dou},
688
+ title = {FlashRAG: {A} Modular Toolkit for Efficient Retrieval-Augmented Generation
689
+ Research},
690
+ journal = {CoRR},
691
+ volume = {abs/2405.13576},
692
+ year = {2024},
693
+ url = {https://doi.org/10.48550/arXiv.2405.13576},
694
+ doi = {10.48550/ARXIV.2405.13576},
695
+ eprinttype = {arXiv},
696
+ eprint = {2405.13576},
697
+ timestamp = {Tue, 18 Jun 2024 09:26:37 +0200},
698
+ biburl = {https://dblp.org/rec/journals/corr/abs-2405-13576.bib},
699
+ bibsource = {dblp computer science bibliography, https://dblp.org}
693
700
  }
694
701
  ```
@@ -1 +0,0 @@
1
- __version__ = "0.1.4dev20250223"