AutoRAG 0.2.14__tar.gz → 0.2.16__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.
- {autorag-0.2.14 → autorag-0.2.16}/.github/workflows/test.yml +14 -0
- autorag-0.2.16/.pre-commit-config.yaml +14 -0
- {autorag-0.2.14 → autorag-0.2.16}/AutoRAG.egg-info/PKG-INFO +22 -6
- {autorag-0.2.14 → autorag-0.2.16}/AutoRAG.egg-info/SOURCES.txt +87 -0
- {autorag-0.2.14 → autorag-0.2.16}/AutoRAG.egg-info/requires.txt +23 -5
- autorag-0.2.16/CONTRIBUTING.md +106 -0
- {autorag-0.2.14 → autorag-0.2.16}/PKG-INFO +22 -6
- autorag-0.2.16/autorag/VERSION +1 -0
- autorag-0.2.16/autorag/__init__.py +103 -0
- autorag-0.2.16/autorag/chunker.py +81 -0
- autorag-0.2.16/autorag/cli.py +178 -0
- autorag-0.2.16/autorag/dashboard.py +199 -0
- autorag-0.2.16/autorag/data/__init__.py +100 -0
- autorag-0.2.16/autorag/data/beta/__init__.py +3 -0
- autorag-0.2.16/autorag/data/beta/filter/dontknow.py +107 -0
- autorag-0.2.16/autorag/data/beta/filter/prompt.py +20 -0
- autorag-0.2.16/autorag/data/beta/generation_gt/base.py +16 -0
- autorag-0.2.16/autorag/data/beta/generation_gt/llama_index_gen_gt.py +37 -0
- autorag-0.2.16/autorag/data/beta/generation_gt/openai_gen_gt.py +84 -0
- autorag-0.2.16/autorag/data/beta/generation_gt/prompt.py +19 -0
- autorag-0.2.16/autorag/data/beta/query/llama_gen_query.py +64 -0
- autorag-0.2.16/autorag/data/beta/query/openai_gen_query.py +95 -0
- autorag-0.2.16/autorag/data/beta/query/prompt.py +123 -0
- autorag-0.2.16/autorag/data/beta/sample.py +26 -0
- autorag-0.2.16/autorag/data/beta/schema.py +166 -0
- autorag-0.2.16/autorag/data/chunk/__init__.py +2 -0
- autorag-0.2.16/autorag/data/chunk/base.py +121 -0
- autorag-0.2.16/autorag/data/chunk/langchain_chunk.py +76 -0
- autorag-0.2.16/autorag/data/chunk/llama_index_chunk.py +96 -0
- autorag-0.2.16/autorag/data/chunk/run.py +38 -0
- autorag-0.2.16/autorag/data/corpus/langchain.py +47 -0
- autorag-0.2.16/autorag/data/corpus/llama_index.py +93 -0
- autorag-0.2.16/autorag/data/parse/__init__.py +4 -0
- autorag-0.2.16/autorag/data/parse/base.py +54 -0
- autorag-0.2.16/autorag/data/parse/clova.py +175 -0
- autorag-0.2.16/autorag/data/parse/langchain_parse.py +71 -0
- autorag-0.2.16/autorag/data/parse/llamaparse.py +34 -0
- autorag-0.2.16/autorag/data/parse/run.py +38 -0
- autorag-0.2.16/autorag/data/parse/table_hybrid_parse.py +122 -0
- autorag-0.2.16/autorag/data/qacreation/__init__.py +6 -0
- autorag-0.2.16/autorag/data/qacreation/base.py +226 -0
- autorag-0.2.16/autorag/data/qacreation/llama_index.py +253 -0
- autorag-0.2.16/autorag/data/qacreation/ragas.py +74 -0
- autorag-0.2.16/autorag/data/qacreation/simple.py +98 -0
- autorag-0.2.16/autorag/data/utils/util.py +103 -0
- autorag-0.2.16/autorag/deploy.py +274 -0
- autorag-0.2.16/autorag/evaluation/generation.py +77 -0
- autorag-0.2.16/autorag/evaluation/metric/__init__.py +14 -0
- autorag-0.2.16/autorag/evaluation/metric/generation.py +379 -0
- autorag-0.2.16/autorag/evaluation/metric/retrieval.py +115 -0
- autorag-0.2.16/autorag/evaluation/metric/retrieval_contents.py +65 -0
- autorag-0.2.16/autorag/evaluation/metric/util.py +73 -0
- autorag-0.2.16/autorag/evaluation/retrieval.py +84 -0
- autorag-0.2.16/autorag/evaluation/retrieval_contents.py +67 -0
- autorag-0.2.16/autorag/evaluation/util.py +43 -0
- autorag-0.2.16/autorag/evaluator.py +519 -0
- autorag-0.2.16/autorag/node_line.py +64 -0
- autorag-0.2.16/autorag/nodes/generator/base.py +61 -0
- autorag-0.2.16/autorag/nodes/generator/llama_index_llm.py +37 -0
- autorag-0.2.16/autorag/nodes/generator/openai_llm.py +137 -0
- autorag-0.2.16/autorag/nodes/generator/run.py +139 -0
- autorag-0.2.16/autorag/nodes/generator/vllm.py +95 -0
- autorag-0.2.16/autorag/nodes/passageaugmenter/base.py +124 -0
- autorag-0.2.16/autorag/nodes/passageaugmenter/pass_passage_augmenter.py +17 -0
- autorag-0.2.16/autorag/nodes/passageaugmenter/prev_next_augmenter.py +66 -0
- autorag-0.2.16/autorag/nodes/passageaugmenter/run.py +130 -0
- autorag-0.2.16/autorag/nodes/passagecompressor/base.py +89 -0
- autorag-0.2.16/autorag/nodes/passagecompressor/longllmlingua.py +93 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/nodes/passagecompressor/pass_compressor.py +2 -2
- autorag-0.2.16/autorag/nodes/passagecompressor/refine.py +62 -0
- autorag-0.2.16/autorag/nodes/passagecompressor/run.py +181 -0
- autorag-0.2.16/autorag/nodes/passagecompressor/tree_summarize.py +64 -0
- autorag-0.2.16/autorag/nodes/passagefilter/base.py +77 -0
- autorag-0.2.16/autorag/nodes/passagefilter/pass_passage_filter.py +17 -0
- autorag-0.2.16/autorag/nodes/passagefilter/percentile_cutoff.py +52 -0
- autorag-0.2.16/autorag/nodes/passagefilter/recency.py +75 -0
- autorag-0.2.16/autorag/nodes/passagefilter/run.py +138 -0
- autorag-0.2.16/autorag/nodes/passagefilter/similarity_percentile_cutoff.py +120 -0
- autorag-0.2.16/autorag/nodes/passagefilter/similarity_threshold_cutoff.py +96 -0
- autorag-0.2.16/autorag/nodes/passagefilter/threshold_cutoff.py +73 -0
- autorag-0.2.16/autorag/nodes/passagereranker/base.py +77 -0
- autorag-0.2.16/autorag/nodes/passagereranker/cohere.py +97 -0
- autorag-0.2.16/autorag/nodes/passagereranker/colbert.py +162 -0
- autorag-0.2.16/autorag/nodes/passagereranker/flag_embedding.py +81 -0
- autorag-0.2.16/autorag/nodes/passagereranker/flag_embedding_llm.py +68 -0
- autorag-0.2.16/autorag/nodes/passagereranker/jina.py +99 -0
- autorag-0.2.16/autorag/nodes/passagereranker/koreranker.py +112 -0
- autorag-0.2.16/autorag/nodes/passagereranker/monot5.py +148 -0
- autorag-0.2.16/autorag/nodes/passagereranker/pass_reranker.py +21 -0
- autorag-0.2.16/autorag/nodes/passagereranker/rankgpt.py +125 -0
- autorag-0.2.16/autorag/nodes/passagereranker/run.py +145 -0
- autorag-0.2.16/autorag/nodes/passagereranker/sentence_transformer.py +80 -0
- autorag-0.2.16/autorag/nodes/passagereranker/tart/__init__.py +0 -0
- autorag-0.2.16/autorag/nodes/passagereranker/tart/modeling_enc_t5.py +140 -0
- autorag-0.2.16/autorag/nodes/passagereranker/tart/tart.py +114 -0
- autorag-0.2.16/autorag/nodes/passagereranker/tart/tokenization_enc_t5.py +112 -0
- autorag-0.2.16/autorag/nodes/passagereranker/time_reranker.py +50 -0
- autorag-0.2.16/autorag/nodes/passagereranker/upr.py +125 -0
- autorag-0.2.16/autorag/nodes/promptmaker/base.py +57 -0
- autorag-0.2.16/autorag/nodes/promptmaker/fstring.py +34 -0
- autorag-0.2.16/autorag/nodes/promptmaker/long_context_reorder.py +67 -0
- autorag-0.2.16/autorag/nodes/promptmaker/run.py +278 -0
- autorag-0.2.16/autorag/nodes/promptmaker/window_replacement.py +57 -0
- autorag-0.2.16/autorag/nodes/queryexpansion/base.py +70 -0
- autorag-0.2.16/autorag/nodes/queryexpansion/hyde.py +40 -0
- autorag-0.2.16/autorag/nodes/queryexpansion/multi_query_expansion.py +58 -0
- autorag-0.2.16/autorag/nodes/queryexpansion/pass_query_expansion.py +13 -0
- autorag-0.2.16/autorag/nodes/queryexpansion/query_decompose.py +106 -0
- autorag-0.2.16/autorag/nodes/queryexpansion/run.py +267 -0
- autorag-0.2.16/autorag/nodes/retrieval/base.py +190 -0
- autorag-0.2.16/autorag/nodes/retrieval/bm25.py +293 -0
- autorag-0.2.16/autorag/nodes/retrieval/hybrid_cc.py +153 -0
- autorag-0.2.16/autorag/nodes/retrieval/hybrid_rrf.py +84 -0
- autorag-0.2.16/autorag/nodes/retrieval/run.py +539 -0
- autorag-0.2.16/autorag/nodes/retrieval/vectordb.py +220 -0
- autorag-0.2.16/autorag/parser.py +66 -0
- autorag-0.2.16/autorag/schema/metricinput.py +93 -0
- autorag-0.2.16/autorag/schema/module.py +24 -0
- autorag-0.2.16/autorag/schema/node.py +126 -0
- autorag-0.2.16/autorag/strategy.py +165 -0
- autorag-0.2.16/autorag/support.py +129 -0
- autorag-0.2.16/autorag/utils/__init__.py +8 -0
- autorag-0.2.16/autorag/utils/preprocess.py +149 -0
- autorag-0.2.16/autorag/utils/util.py +576 -0
- autorag-0.2.16/autorag/validator.py +82 -0
- autorag-0.2.16/autorag/web.py +81 -0
- autorag-0.2.16/docs/source/_static/web_interface_gradio.png +0 -0
- autorag-0.2.16/docs/source/api_spec/autorag.data.beta.generation_gt.rst +45 -0
- autorag-0.2.16/docs/source/api_spec/autorag.data.beta.query.rst +37 -0
- autorag-0.2.16/docs/source/api_spec/autorag.data.beta.rst +39 -0
- autorag-0.2.16/docs/source/api_spec/autorag.data.beta.schema.rst +21 -0
- autorag-0.2.16/docs/source/api_spec/autorag.data.parse.rst +61 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.data.rst +3 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.rst +16 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/conf.py +24 -24
- autorag-0.2.16/docs/source/data_creation/beta/data_creation.md +46 -0
- autorag-0.2.16/docs/source/data_creation/beta/filter.md +69 -0
- autorag-0.2.16/docs/source/data_creation/beta/query_gen.md +160 -0
- autorag-0.2.16/docs/source/data_creation/beta/tutorial.md +37 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/data_creation/data_format.md +17 -15
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/data_creation/ragas.md +7 -7
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/data_creation/tutorial.md +72 -19
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/deploy/api_endpoint.md +5 -5
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/deploy/web.md +25 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/evaluate_metrics/generation.md +8 -8
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/evaluate_metrics/retrieval.md +8 -8
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/evaluate_metrics/retrieval_contents.md +4 -4
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/index.rst +2 -2
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/install.md +11 -11
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/local_model.md +5 -5
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/generator/generator.md +4 -5
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/generator/openai_llm.md +3 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/generator/vllm.md +26 -1
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_augmenter/passage_augmenter.md +3 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_augmenter/prev_next_augmenter.md +3 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_compressor/passage_compressor.md +4 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_compressor/refine.md +2 -2
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_filter/recency_filter.md +3 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_filter/similarity_percentile_cutoff.md +4 -4
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_filter/similarity_threshold_cutoff.md +3 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_filter/threshold_cutoff.md +2 -4
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/cohere.md +8 -6
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/colbert.md +2 -2
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/flag_embedding_llm_reranker.md +3 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/flag_embedding_reranker.md +5 -5
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/jina_reranker.md +3 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/koreranker.md +2 -2
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/monot5.md +2 -2
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/passage_reranker.md +4 -2
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/rankgpt.md +3 -4
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/sentence_transformer_reranker.md +4 -4
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/tart.md +3 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/prompt_maker/fstring.md +2 -2
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/prompt_maker/prompt_maker.md +8 -8
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/prompt_maker/window_replacement.md +1 -2
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/query_expansion/hyde.md +3 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/query_expansion/multi_query_expansion.md +1 -1
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/query_expansion/query_decompose.md +4 -4
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/query_expansion/query_expansion.md +7 -6
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/retrieval/bm25.md +11 -10
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/retrieval/hybrid_cc.md +6 -6
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/retrieval/hybrid_rrf.md +6 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/retrieval/retrieval.md +3 -3
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/retrieval/vectordb.md +5 -5
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/optimization/custom_config.md +16 -16
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/optimization/folder_structure.md +31 -31
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/optimization/optimization.md +20 -20
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/optimization/strategies.md +1 -1
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/roadmap/modular_rag.md +39 -39
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/structure.md +5 -5
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/troubleshooting.md +31 -17
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/tutorial.md +27 -21
- autorag-0.2.16/pyproject.toml +140 -0
- {autorag-0.2.14 → autorag-0.2.16}/requirements.txt +7 -5
- autorag-0.2.16/sample_config/chunk/chunk_full.yaml +23 -0
- autorag-0.2.16/sample_config/parse/parse_full.yaml +13 -0
- autorag-0.2.16/sample_config/parse/parse_hybird.yaml +8 -0
- {autorag-0.2.14 → autorag-0.2.16}/sample_config/simple_ollama.yaml +1 -0
- autorag-0.2.16/sample_dataset/eli5/load_eli5_dataset.py +35 -0
- autorag-0.2.16/sample_dataset/hotpotqa/load_hotpotqa_dataset.py +35 -0
- autorag-0.2.16/sample_dataset/msmarco/load_msmarco_dataset.py +37 -0
- autorag-0.2.16/sample_dataset/triviaqa/load_triviaqa_dataset.py +37 -0
- autorag-0.2.16/tests/autorag/data/beta/filter/test_dontknow.py +143 -0
- autorag-0.2.16/tests/autorag/data/beta/generation_gt/base_test_generation_gt.py +32 -0
- autorag-0.2.16/tests/autorag/data/beta/generation_gt/test_llama_index_gen_gt.py +40 -0
- autorag-0.2.16/tests/autorag/data/beta/generation_gt/test_openai_gen_gt.py +91 -0
- autorag-0.2.16/tests/autorag/data/beta/query/base_test_query_gen.py +32 -0
- autorag-0.2.16/tests/autorag/data/beta/query/test_llama_gen_query.py +60 -0
- autorag-0.2.16/tests/autorag/data/beta/query/test_openai_gen_query.py +116 -0
- autorag-0.2.16/tests/autorag/data/beta/test_data_creation_piepline.py +82 -0
- autorag-0.2.16/tests/autorag/data/beta/test_sample.py +31 -0
- autorag-0.2.16/tests/autorag/data/beta/test_schema.py +61 -0
- autorag-0.2.16/tests/autorag/data/chunk/test_chunk_base.py +174 -0
- autorag-0.2.16/tests/autorag/data/chunk/test_chunk_run.py +19 -0
- autorag-0.2.16/tests/autorag/data/chunk/test_langchain_chunk.py +88 -0
- autorag-0.2.16/tests/autorag/data/chunk/test_llama_index_chunk.py +138 -0
- autorag-0.2.16/tests/autorag/data/corpus/test_base.py +21 -0
- autorag-0.2.16/tests/autorag/data/corpus/test_langchain.py +21 -0
- autorag-0.2.16/tests/autorag/data/corpus/test_llama_index_corpus.py +40 -0
- autorag-0.2.16/tests/autorag/data/parse/test_clova.py +132 -0
- autorag-0.2.16/tests/autorag/data/parse/test_langchain_parse.py +192 -0
- autorag-0.2.16/tests/autorag/data/parse/test_llamaparse.py +65 -0
- autorag-0.2.16/tests/autorag/data/parse/test_parse_base.py +94 -0
- autorag-0.2.16/tests/autorag/data/parse/test_parse_run.py +21 -0
- autorag-0.2.16/tests/autorag/data/parse/test_table_hybrid_parse.py +111 -0
- autorag-0.2.16/tests/autorag/data/qacreation/test_base_qacreation.py +235 -0
- autorag-0.2.16/tests/autorag/data/qacreation/test_llama_index_qacreation.py +111 -0
- autorag-0.2.16/tests/autorag/data/qacreation/test_ragas_qa_creation.py +29 -0
- autorag-0.2.16/tests/autorag/data/qacreation/test_simple.py +60 -0
- autorag-0.2.16/tests/autorag/evaluate/metric/test_generation_metric.py +119 -0
- autorag-0.2.16/tests/autorag/evaluate/metric/test_retrieval_contents_metric.py +62 -0
- autorag-0.2.16/tests/autorag/evaluate/metric/test_retrieval_metric.py +101 -0
- autorag-0.2.16/tests/autorag/evaluate/test_evaluate_util.py +41 -0
- autorag-0.2.16/tests/autorag/evaluate/test_generation_evaluate.py +172 -0
- autorag-0.2.16/tests/autorag/evaluate/test_retrieval_contents_evaluate.py +59 -0
- autorag-0.2.16/tests/autorag/evaluate/test_retrieval_evaluate.py +102 -0
- autorag-0.2.16/tests/autorag/nodes/generator/test_generator_base.py +23 -0
- autorag-0.2.16/tests/autorag/nodes/generator/test_llama_index_llm.py +41 -0
- autorag-0.2.16/tests/autorag/nodes/generator/test_openai.py +68 -0
- autorag-0.2.16/tests/autorag/nodes/generator/test_run_generator_node.py +121 -0
- autorag-0.2.16/tests/autorag/nodes/generator/test_vllm.py +30 -0
- autorag-0.2.16/tests/autorag/nodes/passageaugmenter/test_base_passage_augmenter.py +38 -0
- autorag-0.2.16/tests/autorag/nodes/passageaugmenter/test_pass_passage_augmenter.py +33 -0
- autorag-0.2.16/tests/autorag/nodes/passageaugmenter/test_prev_next_augmenter.py +94 -0
- autorag-0.2.16/tests/autorag/nodes/passageaugmenter/test_run_passage_augmenter.py +94 -0
- autorag-0.2.16/tests/autorag/nodes/passagecompressor/test_base_passage_compressor.py +37 -0
- autorag-0.2.16/tests/autorag/nodes/passagecompressor/test_longllmlingua.py +33 -0
- autorag-0.2.16/tests/autorag/nodes/passagecompressor/test_pass_compressor.py +33 -0
- autorag-0.2.16/tests/autorag/nodes/passagecompressor/test_refine.py +60 -0
- autorag-0.2.16/tests/autorag/nodes/passagecompressor/test_run_passage_compressor_node.py +157 -0
- autorag-0.2.16/tests/autorag/nodes/passagecompressor/test_tree_summarize.py +62 -0
- autorag-0.2.16/tests/autorag/nodes/passagefilter/test_pass_passage_filter.py +28 -0
- autorag-0.2.16/tests/autorag/nodes/passagefilter/test_passage_filter_base.py +118 -0
- autorag-0.2.16/tests/autorag/nodes/passagefilter/test_passage_filter_run.py +95 -0
- autorag-0.2.16/tests/autorag/nodes/passagefilter/test_percentile_cutoff.py +46 -0
- autorag-0.2.16/tests/autorag/nodes/passagefilter/test_recency_filter.py +134 -0
- autorag-0.2.16/tests/autorag/nodes/passagefilter/test_similarity_percentile_cutoff.py +49 -0
- autorag-0.2.16/tests/autorag/nodes/passagefilter/test_similarity_threshold_cutoff.py +47 -0
- autorag-0.2.16/tests/autorag/nodes/passagefilter/test_threshold_cutoff.py +57 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_cohere_reranker.py +77 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_colbert_reranker.py +102 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_flag_embedding.py +55 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_flag_embedding_llm.py +72 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_jina_reranker.py +108 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_koreranker.py +49 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_monot5.py +49 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_pass_reranker.py +23 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_passage_reranker_base.py +117 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_passage_reranker_run.py +157 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_rankgpt.py +112 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_sentence_transformer.py +44 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_tart.py +49 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_time_reranker.py +38 -0
- autorag-0.2.16/tests/autorag/nodes/passagereranker/test_upr.py +35 -0
- autorag-0.2.16/tests/autorag/nodes/promptmaker/test_fstring.py +38 -0
- autorag-0.2.16/tests/autorag/nodes/promptmaker/test_long_context_reorder.py +41 -0
- autorag-0.2.16/tests/autorag/nodes/promptmaker/test_prompt_maker_base.py +48 -0
- autorag-0.2.16/tests/autorag/nodes/promptmaker/test_prompt_maker_run.py +282 -0
- autorag-0.2.16/tests/autorag/nodes/promptmaker/test_window_replacement.py +56 -0
- autorag-0.2.16/tests/autorag/nodes/queryexpansion/test_hyde.py +26 -0
- autorag-0.2.16/tests/autorag/nodes/queryexpansion/test_multi_query_expansion.py +32 -0
- autorag-0.2.16/tests/autorag/nodes/queryexpansion/test_pass_query_expansion.py +16 -0
- autorag-0.2.16/tests/autorag/nodes/queryexpansion/test_query_decompose.py +32 -0
- autorag-0.2.16/tests/autorag/nodes/queryexpansion/test_query_expansion_base.py +50 -0
- autorag-0.2.16/tests/autorag/nodes/queryexpansion/test_query_expansion_run.py +241 -0
- autorag-0.2.16/tests/autorag/nodes/retrieval/test_bm25.py +208 -0
- autorag-0.2.16/tests/autorag/nodes/retrieval/test_hybrid_base.py +158 -0
- autorag-0.2.16/tests/autorag/nodes/retrieval/test_hybrid_cc.py +71 -0
- autorag-0.2.16/tests/autorag/nodes/retrieval/test_hybrid_rrf.py +102 -0
- autorag-0.2.16/tests/autorag/nodes/retrieval/test_retrieval_base.py +90 -0
- autorag-0.2.16/tests/autorag/nodes/retrieval/test_run_retrieval_node.py +303 -0
- autorag-0.2.16/tests/autorag/nodes/retrieval/test_vectordb.py +251 -0
- autorag-0.2.16/tests/autorag/schema/test_metricinput_schema.py +57 -0
- autorag-0.2.16/tests/autorag/schema/test_module_schema.py +40 -0
- autorag-0.2.16/tests/autorag/schema/test_node_schema.py +171 -0
- autorag-0.2.16/tests/autorag/test_chunker.py +61 -0
- autorag-0.2.16/tests/autorag/test_cli.py +119 -0
- autorag-0.2.16/tests/autorag/test_dashboard.py +43 -0
- autorag-0.2.16/tests/autorag/test_deploy.py +213 -0
- autorag-0.2.16/tests/autorag/test_evaluator.py +443 -0
- autorag-0.2.16/tests/autorag/test_parser.py +66 -0
- autorag-0.2.16/tests/autorag/test_strategy.py +109 -0
- autorag-0.2.16/tests/autorag/test_support.py +11 -0
- autorag-0.2.16/tests/autorag/test_validator.py +16 -0
- autorag-0.2.16/tests/autorag/test_web.py +47 -0
- autorag-0.2.16/tests/autorag/utils/test_preprocess.py +121 -0
- autorag-0.2.16/tests/autorag/utils/test_util.py +498 -0
- autorag-0.2.16/tests/conftest.py +7 -0
- autorag-0.2.16/tests/delete_tests.py +33 -0
- autorag-0.2.16/tests/mock.py +140 -0
- autorag-0.2.16/tests/resources/chunk_data/sample_parsed.parquet +0 -0
- autorag-0.2.16/tests/resources/parse_data/all_files/baseball_1.pdf +0 -0
- autorag-0.2.16/tests/resources/parse_data/all_files/csv_sample.csv +6 -0
- autorag-0.2.16/tests/resources/parse_data/clova_data/result_sample.json +4513 -0
- autorag-0.2.16/tests/resources/parse_data/clova_data/result_table.txt +31 -0
- autorag-0.2.16/tests/resources/parse_data/clova_data/result_text.txt +18 -0
- autorag-0.2.16/tests/resources/parse_data/csv_data/csv_sample.csv +6 -0
- autorag-0.2.16/tests/resources/parse_data/eng_text/baseball_1.pdf +0 -0
- autorag-0.2.16/tests/resources/parse_data/eng_text/baseball_2.pdf +0 -0
- autorag-0.2.16/tests/resources/parse_data/html_data/html_sample.html +38 -0
- autorag-0.2.16/tests/resources/parse_data/hybrid_data/nfl_rulebook_both.pdf +0 -0
- autorag-0.2.16/tests/resources/parse_data/json_data/json_sample.json +7 -0
- autorag-0.2.16/tests/resources/parse_data/korean_table/only_table/kbo_only_table.pdf +0 -0
- autorag-0.2.16/tests/resources/parse_data/korean_table/table_text/kbo_table_text.pdf +0 -0
- autorag-0.2.16/tests/resources/parse_data/korean_text/korean_texts_two_page.pdf +0 -0
- autorag-0.2.16/tests/resources/parse_data/markdown_data/markdown_sample.md +49 -0
- autorag-0.2.16/tests/resources/parse_data/xml_data/xml_sample.xml +132 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/3/config.yaml +1 -1
- autorag-0.2.16/tests/resources/result_project/resources/chroma/6595d304-5270-4d9f-a267-c191366804ce/link_lists.bin +0 -0
- autorag-0.2.16/tests/resources/simple_chunk.yaml +3 -0
- autorag-0.2.16/tests/resources/simple_mock.yaml +15 -0
- autorag-0.2.16/tests/resources/simple_parse.yaml +3 -0
- autorag-0.2.14/CONTRIBUTING.md +0 -134
- autorag-0.2.14/autorag/VERSION +0 -1
- autorag-0.2.14/autorag/__init__.py +0 -79
- autorag-0.2.14/autorag/cli.py +0 -122
- autorag-0.2.14/autorag/dashboard.py +0 -152
- autorag-0.2.14/autorag/data/corpus/langchain.py +0 -38
- autorag-0.2.14/autorag/data/corpus/llama_index.py +0 -89
- autorag-0.2.14/autorag/data/qacreation/__init__.py +0 -2
- autorag-0.2.14/autorag/data/qacreation/base.py +0 -168
- autorag-0.2.14/autorag/data/qacreation/llama_index.py +0 -237
- autorag-0.2.14/autorag/data/qacreation/ragas.py +0 -70
- autorag-0.2.14/autorag/data/qacreation/simple.py +0 -89
- autorag-0.2.14/autorag/data/utils/util.py +0 -45
- autorag-0.2.14/autorag/deploy.py +0 -233
- autorag-0.2.14/autorag/evaluation/generation.py +0 -54
- autorag-0.2.14/autorag/evaluation/metric/__init__.py +0 -3
- autorag-0.2.14/autorag/evaluation/metric/generation.py +0 -331
- autorag-0.2.14/autorag/evaluation/metric/retrieval.py +0 -110
- autorag-0.2.14/autorag/evaluation/metric/retrieval_contents.py +0 -64
- autorag-0.2.14/autorag/evaluation/metric/util.py +0 -9
- autorag-0.2.14/autorag/evaluation/retrieval.py +0 -68
- autorag-0.2.14/autorag/evaluation/retrieval_contents.py +0 -50
- autorag-0.2.14/autorag/evaluation/util.py +0 -33
- autorag-0.2.14/autorag/evaluator.py +0 -357
- autorag-0.2.14/autorag/node_line.py +0 -56
- autorag-0.2.14/autorag/nodes/generator/base.py +0 -49
- autorag-0.2.14/autorag/nodes/generator/llama_index_llm.py +0 -36
- autorag-0.2.14/autorag/nodes/generator/openai_llm.py +0 -119
- autorag-0.2.14/autorag/nodes/generator/run.py +0 -95
- autorag-0.2.14/autorag/nodes/generator/vllm.py +0 -76
- autorag-0.2.14/autorag/nodes/passageaugmenter/base.py +0 -89
- autorag-0.2.14/autorag/nodes/passageaugmenter/pass_passage_augmenter.py +0 -15
- autorag-0.2.14/autorag/nodes/passageaugmenter/prev_next_augmenter.py +0 -57
- autorag-0.2.14/autorag/nodes/passageaugmenter/run.py +0 -75
- autorag-0.2.14/autorag/nodes/passagecompressor/base.py +0 -72
- autorag-0.2.14/autorag/nodes/passagecompressor/longllmlingua.py +0 -87
- autorag-0.2.14/autorag/nodes/passagecompressor/refine.py +0 -61
- autorag-0.2.14/autorag/nodes/passagecompressor/run.py +0 -121
- autorag-0.2.14/autorag/nodes/passagecompressor/tree_summarize.py +0 -61
- autorag-0.2.14/autorag/nodes/passagefilter/base.py +0 -53
- autorag-0.2.14/autorag/nodes/passagefilter/pass_passage_filter.py +0 -13
- autorag-0.2.14/autorag/nodes/passagefilter/percentile_cutoff.py +0 -40
- autorag-0.2.14/autorag/nodes/passagefilter/recency.py +0 -54
- autorag-0.2.14/autorag/nodes/passagefilter/run.py +0 -83
- autorag-0.2.14/autorag/nodes/passagefilter/similarity_percentile_cutoff.py +0 -88
- autorag-0.2.14/autorag/nodes/passagefilter/similarity_threshold_cutoff.py +0 -74
- autorag-0.2.14/autorag/nodes/passagefilter/threshold_cutoff.py +0 -57
- autorag-0.2.14/autorag/nodes/passagereranker/base.py +0 -53
- autorag-0.2.14/autorag/nodes/passagereranker/cohere.py +0 -79
- autorag-0.2.14/autorag/nodes/passagereranker/colbert.py +0 -120
- autorag-0.2.14/autorag/nodes/passagereranker/flag_embedding.py +0 -65
- autorag-0.2.14/autorag/nodes/passagereranker/flag_embedding_llm.py +0 -52
- autorag-0.2.14/autorag/nodes/passagereranker/jina.py +0 -82
- autorag-0.2.14/autorag/nodes/passagereranker/koreranker.py +0 -76
- autorag-0.2.14/autorag/nodes/passagereranker/monot5.py +0 -112
- autorag-0.2.14/autorag/nodes/passagereranker/pass_reranker.py +0 -17
- autorag-0.2.14/autorag/nodes/passagereranker/rankgpt.py +0 -103
- autorag-0.2.14/autorag/nodes/passagereranker/run.py +0 -89
- autorag-0.2.14/autorag/nodes/passagereranker/sentence_transformer.py +0 -62
- autorag-0.2.14/autorag/nodes/passagereranker/tart/modeling_enc_t5.py +0 -136
- autorag-0.2.14/autorag/nodes/passagereranker/tart/tart.py +0 -79
- autorag-0.2.14/autorag/nodes/passagereranker/tart/tokenization_enc_t5.py +0 -102
- autorag-0.2.14/autorag/nodes/passagereranker/time_reranker.py +0 -34
- autorag-0.2.14/autorag/nodes/passagereranker/upr.py +0 -99
- autorag-0.2.14/autorag/nodes/promptmaker/base.py +0 -46
- autorag-0.2.14/autorag/nodes/promptmaker/fstring.py +0 -30
- autorag-0.2.14/autorag/nodes/promptmaker/long_context_reorder.py +0 -53
- autorag-0.2.14/autorag/nodes/promptmaker/run.py +0 -189
- autorag-0.2.14/autorag/nodes/promptmaker/window_replacement.py +0 -46
- autorag-0.2.14/autorag/nodes/queryexpansion/base.py +0 -63
- autorag-0.2.14/autorag/nodes/queryexpansion/hyde.py +0 -31
- autorag-0.2.14/autorag/nodes/queryexpansion/multi_query_expansion.py +0 -52
- autorag-0.2.14/autorag/nodes/queryexpansion/pass_query_expansion.py +0 -13
- autorag-0.2.14/autorag/nodes/queryexpansion/query_decompose.py +0 -100
- autorag-0.2.14/autorag/nodes/queryexpansion/run.py +0 -173
- autorag-0.2.14/autorag/nodes/retrieval/base.py +0 -149
- autorag-0.2.14/autorag/nodes/retrieval/bm25.py +0 -249
- autorag-0.2.14/autorag/nodes/retrieval/hybrid_cc.py +0 -137
- autorag-0.2.14/autorag/nodes/retrieval/hybrid_rrf.py +0 -78
- autorag-0.2.14/autorag/nodes/retrieval/run.py +0 -338
- autorag-0.2.14/autorag/nodes/retrieval/vectordb.py +0 -152
- autorag-0.2.14/autorag/schema/module.py +0 -24
- autorag-0.2.14/autorag/schema/node.py +0 -111
- autorag-0.2.14/autorag/strategy.py +0 -142
- autorag-0.2.14/autorag/support.py +0 -79
- autorag-0.2.14/autorag/utils/__init__.py +0 -3
- autorag-0.2.14/autorag/utils/preprocess.py +0 -121
- autorag-0.2.14/autorag/utils/util.py +0 -502
- autorag-0.2.14/autorag/validator.py +0 -66
- autorag-0.2.14/autorag/web.py +0 -81
- autorag-0.2.14/pyproject.toml +0 -52
- autorag-0.2.14/sample_dataset/eli5/load_eli5_dataset.py +0 -30
- autorag-0.2.14/sample_dataset/hotpotqa/load_hotpotqa_dataset.py +0 -28
- autorag-0.2.14/sample_dataset/msmarco/load_msmarco_dataset.py +0 -30
- autorag-0.2.14/sample_dataset/triviaqa/load_triviaqa_dataset.py +0 -30
- autorag-0.2.14/tests/autorag/data/corpus/test_base.py +0 -16
- autorag-0.2.14/tests/autorag/data/corpus/test_langchain.py +0 -19
- autorag-0.2.14/tests/autorag/data/corpus/test_llama_index_corpus.py +0 -31
- autorag-0.2.14/tests/autorag/data/qacreation/test_base_qacreation.py +0 -117
- autorag-0.2.14/tests/autorag/data/qacreation/test_llama_index_qacreation.py +0 -100
- autorag-0.2.14/tests/autorag/data/qacreation/test_ragas_qa_creation.py +0 -24
- autorag-0.2.14/tests/autorag/data/qacreation/test_simple.py +0 -56
- autorag-0.2.14/tests/autorag/evaluate/metric/test_generation_metric.py +0 -89
- autorag-0.2.14/tests/autorag/evaluate/metric/test_retrieval_contents_metric.py +0 -50
- autorag-0.2.14/tests/autorag/evaluate/metric/test_retrieval_metric.py +0 -79
- autorag-0.2.14/tests/autorag/evaluate/test_evaluate_util.py +0 -26
- autorag-0.2.14/tests/autorag/evaluate/test_generation_evaluate.py +0 -104
- autorag-0.2.14/tests/autorag/evaluate/test_retrieval_contents_evaluate.py +0 -35
- autorag-0.2.14/tests/autorag/evaluate/test_retrieval_evaluate.py +0 -82
- autorag-0.2.14/tests/autorag/nodes/generator/test_generator_base.py +0 -23
- autorag-0.2.14/tests/autorag/nodes/generator/test_llama_index_llm.py +0 -31
- autorag-0.2.14/tests/autorag/nodes/generator/test_openai.py +0 -43
- autorag-0.2.14/tests/autorag/nodes/generator/test_run_generator_node.py +0 -78
- autorag-0.2.14/tests/autorag/nodes/generator/test_vllm.py +0 -25
- autorag-0.2.14/tests/autorag/nodes/passageaugmenter/test_base_passage_augmenter.py +0 -24
- autorag-0.2.14/tests/autorag/nodes/passageaugmenter/test_pass_passage_augmenter.py +0 -12
- autorag-0.2.14/tests/autorag/nodes/passageaugmenter/test_prev_next_augmenter.py +0 -50
- autorag-0.2.14/tests/autorag/nodes/passageaugmenter/test_run_passage_augmenter.py +0 -60
- autorag-0.2.14/tests/autorag/nodes/passagecompressor/test_base_passage_compressor.py +0 -27
- autorag-0.2.14/tests/autorag/nodes/passagecompressor/test_longllmlingua.py +0 -29
- autorag-0.2.14/tests/autorag/nodes/passagecompressor/test_pass_compressor.py +0 -23
- autorag-0.2.14/tests/autorag/nodes/passagecompressor/test_refine.py +0 -54
- autorag-0.2.14/tests/autorag/nodes/passagecompressor/test_run_passage_compressor_node.py +0 -115
- autorag-0.2.14/tests/autorag/nodes/passagecompressor/test_tree_summarize.py +0 -54
- autorag-0.2.14/tests/autorag/nodes/passagefilter/test_pass_passage_filter.py +0 -15
- autorag-0.2.14/tests/autorag/nodes/passagefilter/test_passage_filter_base.py +0 -77
- autorag-0.2.14/tests/autorag/nodes/passagefilter/test_passage_filter_run.py +0 -60
- autorag-0.2.14/tests/autorag/nodes/passagefilter/test_percentile_cutoff.py +0 -28
- autorag-0.2.14/tests/autorag/nodes/passagefilter/test_recency_filter.py +0 -86
- autorag-0.2.14/tests/autorag/nodes/passagefilter/test_similarity_percentile_cutoff.py +0 -19
- autorag-0.2.14/tests/autorag/nodes/passagefilter/test_similarity_threshold_cutoff.py +0 -17
- autorag-0.2.14/tests/autorag/nodes/passagefilter/test_threshold_cutoff.py +0 -37
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_cohere_reranker.py +0 -58
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_colbert_reranker.py +0 -69
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_flag_embedding.py +0 -42
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_flag_embedding_llm.py +0 -45
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_jina_reranker.py +0 -70
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_koreranker.py +0 -33
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_monot5.py +0 -33
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_pass_reranker.py +0 -19
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_passage_reranker_base.py +0 -94
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_passage_reranker_run.py +0 -113
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_rankgpt.py +0 -52
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_sentence_transformer.py +0 -32
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_tart.py +0 -32
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_time_reranker.py +0 -26
- autorag-0.2.14/tests/autorag/nodes/passagereranker/test_upr.py +0 -22
- autorag-0.2.14/tests/autorag/nodes/promptmaker/test_fstring.py +0 -21
- autorag-0.2.14/tests/autorag/nodes/promptmaker/test_long_context_reorder.py +0 -26
- autorag-0.2.14/tests/autorag/nodes/promptmaker/test_prompt_maker_base.py +0 -28
- autorag-0.2.14/tests/autorag/nodes/promptmaker/test_prompt_maker_run.py +0 -190
- autorag-0.2.14/tests/autorag/nodes/promptmaker/test_window_replacement.py +0 -40
- autorag-0.2.14/tests/autorag/nodes/queryexpansion/test_hyde.py +0 -25
- autorag-0.2.14/tests/autorag/nodes/queryexpansion/test_multi_query_expansion.py +0 -27
- autorag-0.2.14/tests/autorag/nodes/queryexpansion/test_pass_query_expansion.py +0 -11
- autorag-0.2.14/tests/autorag/nodes/queryexpansion/test_query_decompose.py +0 -26
- autorag-0.2.14/tests/autorag/nodes/queryexpansion/test_query_expansion_base.py +0 -42
- autorag-0.2.14/tests/autorag/nodes/queryexpansion/test_query_expansion_run.py +0 -175
- autorag-0.2.14/tests/autorag/nodes/retrieval/test_bm25.py +0 -173
- autorag-0.2.14/tests/autorag/nodes/retrieval/test_hybrid_base.py +0 -121
- autorag-0.2.14/tests/autorag/nodes/retrieval/test_hybrid_cc.py +0 -54
- autorag-0.2.14/tests/autorag/nodes/retrieval/test_hybrid_rrf.py +0 -75
- autorag-0.2.14/tests/autorag/nodes/retrieval/test_retrieval_base.py +0 -75
- autorag-0.2.14/tests/autorag/nodes/retrieval/test_run_retrieval_node.py +0 -207
- autorag-0.2.14/tests/autorag/nodes/retrieval/test_vectordb.py +0 -169
- autorag-0.2.14/tests/autorag/schema/test_module_schema.py +0 -31
- autorag-0.2.14/tests/autorag/schema/test_node_schema.py +0 -149
- autorag-0.2.14/tests/autorag/test_cli.py +0 -75
- autorag-0.2.14/tests/autorag/test_dashboard.py +0 -35
- autorag-0.2.14/tests/autorag/test_deploy.py +0 -191
- autorag-0.2.14/tests/autorag/test_evaluator.py +0 -253
- autorag-0.2.14/tests/autorag/test_strategy.py +0 -79
- autorag-0.2.14/tests/autorag/test_support.py +0 -11
- autorag-0.2.14/tests/autorag/test_validator.py +0 -16
- autorag-0.2.14/tests/autorag/test_web.py +0 -21
- autorag-0.2.14/tests/autorag/utils/test_preprocess.py +0 -97
- autorag-0.2.14/tests/autorag/utils/test_util.py +0 -433
- autorag-0.2.14/tests/conftest.py +0 -10
- autorag-0.2.14/tests/delete_tests.py +0 -33
- autorag-0.2.14/tests/mock.py +0 -121
- {autorag-0.2.14 → autorag-0.2.16}/.github/FUNDING.yml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/.github/dependabot.yml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/.github/workflows/publish.yml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/.github/workflows/sphinx.yml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/.gitignore +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/AutoRAG.egg-info/dependency_links.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/AutoRAG.egg-info/entry_points.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/AutoRAG.egg-info/top_level.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/CODE_OF_CONDUCT.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/LICENSE +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/README.md +0 -0
- {autorag-0.2.14/autorag/data → autorag-0.2.16/autorag/data/beta/filter}/__init__.py +0 -0
- {autorag-0.2.14/autorag/data/utils → autorag-0.2.16/autorag/data/beta/generation_gt}/__init__.py +0 -0
- {autorag-0.2.14/autorag/nodes → autorag-0.2.16/autorag/data/beta/query}/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/data/corpus/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/data/qacreation/llama_index_default_prompt.txt +0 -0
- {autorag-0.2.14/autorag/nodes/passagereranker/tart → autorag-0.2.16/autorag/data/utils}/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/evaluation/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/evaluation/metric/g_eval_prompts/coh_detailed.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/evaluation/metric/g_eval_prompts/con_detailed.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/evaluation/metric/g_eval_prompts/flu_detailed.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/evaluation/metric/g_eval_prompts/rel_detailed.txt +0 -0
- /autorag-0.2.14/tests/resources/result_project/resources/chroma/6595d304-5270-4d9f-a267-c191366804ce/link_lists.bin → /autorag-0.2.16/autorag/nodes/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/nodes/generator/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/nodes/passageaugmenter/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/nodes/passagecompressor/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/nodes/passagefilter/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/nodes/passagereranker/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/nodes/promptmaker/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/nodes/queryexpansion/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/nodes/retrieval/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/autorag/schema/__init__.py +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/Makefile +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/make.bat +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/requirements.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/CNAME +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/data_creation.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/data_folder.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/dcg.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/f1_score.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/map.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/mrr.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/ndcg.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/ndcg_formula.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/node_folder.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/node_line_folder.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/node_line_summary.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/node_lines.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/node_summary.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/normal_distribution.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/project_folder_example.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/project_folders.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/resources_folder.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/roadmap/RAG_paradigms.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/roadmap/advanced_RAG.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/roadmap/cycle.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/roadmap/merger.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/roadmap/node_line_modular.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/roadmap/policy.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/samsung_sundae.jpeg +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/score_fusion.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/trial_folder.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/trial_json.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/trial_summary.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/_static/web_interface.png +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.data.corpus.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.data.qacreation.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.data.utils.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.evaluation.metric.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.evaluation.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.nodes.generator.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.nodes.passageaugmenter.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.nodes.passagecompressor.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.nodes.passagefilter.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.nodes.passagereranker.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.nodes.passagereranker.tart.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.nodes.promptmaker.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.nodes.queryexpansion.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.nodes.retrieval.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.nodes.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.schema.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/autorag.utils.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/api_spec/modules.rst +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/generator/llama_index_llm.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/index.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_compressor/longllmlingua.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_compressor/tree_summarize.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_filter/passage_filter.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_filter/percentile_cutoff.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/time_reranker.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/passage_reranker/upr.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/docs/source/nodes/prompt_maker/long_context_reorder.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/sample_config/compact_local.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/sample_config/compact_openai.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/sample_config/config_korean.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/sample_config/extracted_sample.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/sample_config/full.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/sample_config/simple_local.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/sample_config/simple_openai.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/sample_dataset/README.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/setup.cfg +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/requirements.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/README.md +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/corpus_data_sample.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/data_creation/raw_dir/sample1.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/data_creation/raw_dir/sample2.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/data_creation/raw_dir/sample3.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/full.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/qa_data_sample.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/qa_gen_prompts/prompt1.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/qa_gen_prompts/prompt2.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/qa_gen_prompts/prompt3.txt +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/qa_test_data_sample.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/config.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/generator/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/generator/1.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/generator/2.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/generator/3.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/generator/4.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/generator/5.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/generator/best_5.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/generator/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/prompt_maker/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/prompt_maker/1.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/prompt_maker/best_0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/prompt_maker/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/post_retrieve_node_line/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/pre_retrieve_node_line/query_expansion/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/pre_retrieve_node_line/query_expansion/1.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/pre_retrieve_node_line/query_expansion/2.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/pre_retrieve_node_line/query_expansion/best_0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/pre_retrieve_node_line/query_expansion/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/pre_retrieve_node_line/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/retrieve_node_line/passage_compressor/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/retrieve_node_line/passage_compressor/best_0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/retrieve_node_line/passage_compressor/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/retrieve_node_line/passage_reranker/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/retrieve_node_line/passage_reranker/1.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/retrieve_node_line/passage_reranker/best_0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/retrieve_node_line/passage_reranker/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/retrieve_node_line/retrieval/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/retrieve_node_line/retrieval/1.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/retrieve_node_line/retrieval/best_0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/retrieve_node_line/retrieval/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/retrieve_node_line/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/0/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/config.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/pre_retrieve_node_line/query_expansion/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/pre_retrieve_node_line/query_expansion/1.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/pre_retrieve_node_line/query_expansion/2.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/pre_retrieve_node_line/query_expansion/best_0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/pre_retrieve_node_line/query_expansion/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/pre_retrieve_node_line/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/retrieve_node_line/passage_filter/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/retrieve_node_line/passage_reranker/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/retrieve_node_line/passage_reranker/1.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/retrieve_node_line/passage_reranker/best_0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/retrieve_node_line/passage_reranker/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/retrieve_node_line/retrieval/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/retrieve_node_line/retrieval/1.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/retrieve_node_line/retrieval/best_0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/1/retrieve_node_line/retrieval/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/config.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/post_retrieve_node_line/prompt_maker/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/pre_retrieve_node_line/query_expansion/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/pre_retrieve_node_line/query_expansion/1.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/pre_retrieve_node_line/query_expansion/2.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/pre_retrieve_node_line/query_expansion/best_0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/pre_retrieve_node_line/query_expansion/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/pre_retrieve_node_line/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/retrieve_node_line/passage_compressor/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/retrieve_node_line/passage_compressor/best_0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/retrieve_node_line/passage_compressor/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/retrieve_node_line/passage_reranker/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/retrieve_node_line/passage_reranker/1.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/retrieve_node_line/passage_reranker/best_0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/retrieve_node_line/passage_reranker/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/retrieve_node_line/retrieval/0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/retrieve_node_line/retrieval/1.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/retrieve_node_line/retrieval/best_0.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/retrieve_node_line/retrieval/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/2/retrieve_node_line/summary.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/best.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/data/corpus.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/data/qa.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/resources/bm25_porter_stemmer.pkl +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/resources/chroma/6595d304-5270-4d9f-a267-c191366804ce/data_level0.bin +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/resources/chroma/6595d304-5270-4d9f-a267-c191366804ce/header.bin +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/resources/chroma/6595d304-5270-4d9f-a267-c191366804ce/length.bin +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/resources/chroma/chroma.sqlite3 +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/result_project/trial.json +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/sample_contents_nqa.csv +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/sample_project/data/corpus.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/sample_project/data/qa.parquet +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/sample_project/resources/bm25_gpt2.pkl +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/sample_project/resources/bm25_porter_stemmer.pkl +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/simple.yaml +0 -0
- {autorag-0.2.14 → autorag-0.2.16}/tests/resources/test_bm25_retrieval.pkl +0 -0
|
@@ -26,12 +26,26 @@ jobs:
|
|
|
26
26
|
- name: Install gcc
|
|
27
27
|
run: |
|
|
28
28
|
sudo apt-get install gcc
|
|
29
|
+
- name: Install poppler-utils
|
|
30
|
+
run: |
|
|
31
|
+
sudo apt-get install poppler-utils
|
|
32
|
+
- name: Install tesseract
|
|
33
|
+
run: |
|
|
34
|
+
sudo apt-get install tesseract-ocr
|
|
29
35
|
- name: Install AutoRAG
|
|
30
36
|
run: |
|
|
31
37
|
pip install -e '.[all]'
|
|
32
38
|
- name: Install dependencies
|
|
33
39
|
run: |
|
|
34
40
|
pip install -r tests/requirements.txt
|
|
41
|
+
- name: Upgrade pyOpenSSL
|
|
42
|
+
run: |
|
|
43
|
+
pip install --upgrade pyOpenSSL
|
|
44
|
+
- name: Install NLTK and download model
|
|
45
|
+
run: |
|
|
46
|
+
pip install nltk
|
|
47
|
+
python3 -c "import nltk; nltk.download('punkt_tab')"
|
|
48
|
+
python3 -c "import nltk; nltk.download('averaged_perceptron_tagger_eng')"
|
|
35
49
|
- name: delete tests package
|
|
36
50
|
run: python3 tests/delete_tests.py
|
|
37
51
|
- name: Run tests
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: v4.6.0 # Use the ref you want to point at
|
|
4
|
+
hooks:
|
|
5
|
+
- id: trailing-whitespace
|
|
6
|
+
- id: end-of-file-fixer
|
|
7
|
+
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
8
|
+
rev: v0.6.1
|
|
9
|
+
hooks:
|
|
10
|
+
- id: ruff
|
|
11
|
+
types_or: [ python, pyi ]
|
|
12
|
+
args: [ "--fix" ]
|
|
13
|
+
- id: ruff-format
|
|
14
|
+
types_or: [ python, pyi ]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: AutoRAG
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.16
|
|
4
4
|
Summary: Automatically Evaluate RAG pipelines with your own data. Find optimal structure for new RAG product.
|
|
5
5
|
Author-email: Marker-Inc <vkehfdl1@gmail.com>
|
|
6
6
|
License: Apache License
|
|
@@ -236,8 +236,7 @@ Requires-Dist: rouge_score
|
|
|
236
236
|
Requires-Dist: rich
|
|
237
237
|
Requires-Dist: chromadb>=0.5.0
|
|
238
238
|
Requires-Dist: click
|
|
239
|
-
Requires-Dist:
|
|
240
|
-
Requires-Dist: uvicorn
|
|
239
|
+
Requires-Dist: Flask
|
|
241
240
|
Requires-Dist: torch
|
|
242
241
|
Requires-Dist: sentencepiece
|
|
243
242
|
Requires-Dist: guidance
|
|
@@ -250,8 +249,8 @@ Requires-Dist: FlagEmbedding
|
|
|
250
249
|
Requires-Dist: ragas
|
|
251
250
|
Requires-Dist: llmlingua
|
|
252
251
|
Requires-Dist: peft
|
|
253
|
-
Requires-Dist: llama-index>=0.
|
|
254
|
-
Requires-Dist: llama-index-core>=0.
|
|
252
|
+
Requires-Dist: llama-index>=0.11.0
|
|
253
|
+
Requires-Dist: llama-index-core>=0.11.0
|
|
255
254
|
Requires-Dist: llama-index-readers-file
|
|
256
255
|
Requires-Dist: llama-index-embeddings-openai
|
|
257
256
|
Requires-Dist: llama-index-embeddings-huggingface
|
|
@@ -261,17 +260,34 @@ Requires-Dist: llama-index-llms-openai-like
|
|
|
261
260
|
Requires-Dist: llama-index-llms-ollama
|
|
262
261
|
Requires-Dist: llama-index-retrievers-bm25
|
|
263
262
|
Requires-Dist: streamlit
|
|
263
|
+
Requires-Dist: gradio
|
|
264
264
|
Requires-Dist: langchain-core>=0.1.6
|
|
265
|
+
Requires-Dist: langchain_unstructured
|
|
266
|
+
Requires-Dist: langchain-upstage
|
|
265
267
|
Requires-Dist: panel
|
|
266
268
|
Requires-Dist: seaborn
|
|
267
269
|
Requires-Dist: ipykernel
|
|
268
270
|
Requires-Dist: ipywidgets
|
|
269
271
|
Requires-Dist: ipywidgets_bokeh
|
|
270
272
|
Provides-Extra: ko
|
|
271
|
-
Requires-Dist: kiwipiepy; extra == "ko"
|
|
273
|
+
Requires-Dist: kiwipiepy>=0.18.0; extra == "ko"
|
|
272
274
|
Requires-Dist: konlpy; extra == "ko"
|
|
275
|
+
Provides-Extra: dev
|
|
276
|
+
Requires-Dist: ruff; extra == "dev"
|
|
277
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
278
|
+
Provides-Extra: parse
|
|
279
|
+
Requires-Dist: PyMuPDF; extra == "parse"
|
|
280
|
+
Requires-Dist: pdfminer.six; extra == "parse"
|
|
281
|
+
Requires-Dist: pdfplumber; extra == "parse"
|
|
282
|
+
Requires-Dist: unstructured; extra == "parse"
|
|
283
|
+
Requires-Dist: jq; extra == "parse"
|
|
284
|
+
Requires-Dist: unstructured[pdf]; extra == "parse"
|
|
285
|
+
Requires-Dist: PyPDF2<3.0; extra == "parse"
|
|
286
|
+
Requires-Dist: pdf2image; extra == "parse"
|
|
273
287
|
Provides-Extra: all
|
|
274
288
|
Requires-Dist: AutoRAG[ko]; extra == "all"
|
|
289
|
+
Requires-Dist: AutoRAG[dev]; extra == "all"
|
|
290
|
+
Requires-Dist: AutoRAG[parse]; extra == "all"
|
|
275
291
|
|
|
276
292
|
# AutoRAG
|
|
277
293
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.gitignore
|
|
2
|
+
.pre-commit-config.yaml
|
|
2
3
|
CODE_OF_CONDUCT.md
|
|
3
4
|
CONTRIBUTING.md
|
|
4
5
|
LICENSE
|
|
@@ -20,19 +21,48 @@ AutoRAG.egg-info/requires.txt
|
|
|
20
21
|
AutoRAG.egg-info/top_level.txt
|
|
21
22
|
autorag/VERSION
|
|
22
23
|
autorag/__init__.py
|
|
24
|
+
autorag/chunker.py
|
|
23
25
|
autorag/cli.py
|
|
24
26
|
autorag/dashboard.py
|
|
25
27
|
autorag/deploy.py
|
|
26
28
|
autorag/evaluator.py
|
|
27
29
|
autorag/node_line.py
|
|
30
|
+
autorag/parser.py
|
|
28
31
|
autorag/strategy.py
|
|
29
32
|
autorag/support.py
|
|
30
33
|
autorag/validator.py
|
|
31
34
|
autorag/web.py
|
|
32
35
|
autorag/data/__init__.py
|
|
36
|
+
autorag/data/beta/__init__.py
|
|
37
|
+
autorag/data/beta/sample.py
|
|
38
|
+
autorag/data/beta/schema.py
|
|
39
|
+
autorag/data/beta/filter/__init__.py
|
|
40
|
+
autorag/data/beta/filter/dontknow.py
|
|
41
|
+
autorag/data/beta/filter/prompt.py
|
|
42
|
+
autorag/data/beta/generation_gt/__init__.py
|
|
43
|
+
autorag/data/beta/generation_gt/base.py
|
|
44
|
+
autorag/data/beta/generation_gt/llama_index_gen_gt.py
|
|
45
|
+
autorag/data/beta/generation_gt/openai_gen_gt.py
|
|
46
|
+
autorag/data/beta/generation_gt/prompt.py
|
|
47
|
+
autorag/data/beta/query/__init__.py
|
|
48
|
+
autorag/data/beta/query/llama_gen_query.py
|
|
49
|
+
autorag/data/beta/query/openai_gen_query.py
|
|
50
|
+
autorag/data/beta/query/prompt.py
|
|
51
|
+
autorag/data/chunk/__init__.py
|
|
52
|
+
autorag/data/chunk/base.py
|
|
53
|
+
autorag/data/chunk/langchain_chunk.py
|
|
54
|
+
autorag/data/chunk/llama_index_chunk.py
|
|
55
|
+
autorag/data/chunk/run.py
|
|
33
56
|
autorag/data/corpus/__init__.py
|
|
34
57
|
autorag/data/corpus/langchain.py
|
|
35
58
|
autorag/data/corpus/llama_index.py
|
|
59
|
+
autorag/data/parse/__init__.py
|
|
60
|
+
autorag/data/parse/base.py
|
|
61
|
+
autorag/data/parse/clova.py
|
|
62
|
+
autorag/data/parse/langchain_parse.py
|
|
63
|
+
autorag/data/parse/llamaparse.py
|
|
64
|
+
autorag/data/parse/run.py
|
|
65
|
+
autorag/data/parse/table_hybrid_parse.py
|
|
36
66
|
autorag/data/qacreation/__init__.py
|
|
37
67
|
autorag/data/qacreation/base.py
|
|
38
68
|
autorag/data/qacreation/llama_index.py
|
|
@@ -123,6 +153,7 @@ autorag/nodes/retrieval/hybrid_rrf.py
|
|
|
123
153
|
autorag/nodes/retrieval/run.py
|
|
124
154
|
autorag/nodes/retrieval/vectordb.py
|
|
125
155
|
autorag/schema/__init__.py
|
|
156
|
+
autorag/schema/metricinput.py
|
|
126
157
|
autorag/schema/module.py
|
|
127
158
|
autorag/schema/node.py
|
|
128
159
|
autorag/utils/__init__.py
|
|
@@ -162,13 +193,19 @@ docs/source/_static/trial_folder.png
|
|
|
162
193
|
docs/source/_static/trial_json.png
|
|
163
194
|
docs/source/_static/trial_summary.png
|
|
164
195
|
docs/source/_static/web_interface.png
|
|
196
|
+
docs/source/_static/web_interface_gradio.png
|
|
165
197
|
docs/source/_static/roadmap/RAG_paradigms.png
|
|
166
198
|
docs/source/_static/roadmap/advanced_RAG.png
|
|
167
199
|
docs/source/_static/roadmap/cycle.png
|
|
168
200
|
docs/source/_static/roadmap/merger.png
|
|
169
201
|
docs/source/_static/roadmap/node_line_modular.png
|
|
170
202
|
docs/source/_static/roadmap/policy.png
|
|
203
|
+
docs/source/api_spec/autorag.data.beta.generation_gt.rst
|
|
204
|
+
docs/source/api_spec/autorag.data.beta.query.rst
|
|
205
|
+
docs/source/api_spec/autorag.data.beta.rst
|
|
206
|
+
docs/source/api_spec/autorag.data.beta.schema.rst
|
|
171
207
|
docs/source/api_spec/autorag.data.corpus.rst
|
|
208
|
+
docs/source/api_spec/autorag.data.parse.rst
|
|
172
209
|
docs/source/api_spec/autorag.data.qacreation.rst
|
|
173
210
|
docs/source/api_spec/autorag.data.rst
|
|
174
211
|
docs/source/api_spec/autorag.data.utils.rst
|
|
@@ -191,6 +228,10 @@ docs/source/api_spec/modules.rst
|
|
|
191
228
|
docs/source/data_creation/data_format.md
|
|
192
229
|
docs/source/data_creation/ragas.md
|
|
193
230
|
docs/source/data_creation/tutorial.md
|
|
231
|
+
docs/source/data_creation/beta/data_creation.md
|
|
232
|
+
docs/source/data_creation/beta/filter.md
|
|
233
|
+
docs/source/data_creation/beta/query_gen.md
|
|
234
|
+
docs/source/data_creation/beta/tutorial.md
|
|
194
235
|
docs/source/deploy/api_endpoint.md
|
|
195
236
|
docs/source/deploy/web.md
|
|
196
237
|
docs/source/evaluate_metrics/generation.md
|
|
@@ -252,6 +293,9 @@ sample_config/full.yaml
|
|
|
252
293
|
sample_config/simple_local.yaml
|
|
253
294
|
sample_config/simple_ollama.yaml
|
|
254
295
|
sample_config/simple_openai.yaml
|
|
296
|
+
sample_config/chunk/chunk_full.yaml
|
|
297
|
+
sample_config/parse/parse_full.yaml
|
|
298
|
+
sample_config/parse/parse_hybird.yaml
|
|
255
299
|
sample_dataset/README.md
|
|
256
300
|
sample_dataset/eli5/load_eli5_dataset.py
|
|
257
301
|
sample_dataset/hotpotqa/load_hotpotqa_dataset.py
|
|
@@ -261,17 +305,39 @@ tests/conftest.py
|
|
|
261
305
|
tests/delete_tests.py
|
|
262
306
|
tests/mock.py
|
|
263
307
|
tests/requirements.txt
|
|
308
|
+
tests/autorag/test_chunker.py
|
|
264
309
|
tests/autorag/test_cli.py
|
|
265
310
|
tests/autorag/test_dashboard.py
|
|
266
311
|
tests/autorag/test_deploy.py
|
|
267
312
|
tests/autorag/test_evaluator.py
|
|
313
|
+
tests/autorag/test_parser.py
|
|
268
314
|
tests/autorag/test_strategy.py
|
|
269
315
|
tests/autorag/test_support.py
|
|
270
316
|
tests/autorag/test_validator.py
|
|
271
317
|
tests/autorag/test_web.py
|
|
318
|
+
tests/autorag/data/beta/test_data_creation_piepline.py
|
|
319
|
+
tests/autorag/data/beta/test_sample.py
|
|
320
|
+
tests/autorag/data/beta/test_schema.py
|
|
321
|
+
tests/autorag/data/beta/filter/test_dontknow.py
|
|
322
|
+
tests/autorag/data/beta/generation_gt/base_test_generation_gt.py
|
|
323
|
+
tests/autorag/data/beta/generation_gt/test_llama_index_gen_gt.py
|
|
324
|
+
tests/autorag/data/beta/generation_gt/test_openai_gen_gt.py
|
|
325
|
+
tests/autorag/data/beta/query/base_test_query_gen.py
|
|
326
|
+
tests/autorag/data/beta/query/test_llama_gen_query.py
|
|
327
|
+
tests/autorag/data/beta/query/test_openai_gen_query.py
|
|
328
|
+
tests/autorag/data/chunk/test_chunk_base.py
|
|
329
|
+
tests/autorag/data/chunk/test_chunk_run.py
|
|
330
|
+
tests/autorag/data/chunk/test_langchain_chunk.py
|
|
331
|
+
tests/autorag/data/chunk/test_llama_index_chunk.py
|
|
272
332
|
tests/autorag/data/corpus/test_base.py
|
|
273
333
|
tests/autorag/data/corpus/test_langchain.py
|
|
274
334
|
tests/autorag/data/corpus/test_llama_index_corpus.py
|
|
335
|
+
tests/autorag/data/parse/test_clova.py
|
|
336
|
+
tests/autorag/data/parse/test_langchain_parse.py
|
|
337
|
+
tests/autorag/data/parse/test_llamaparse.py
|
|
338
|
+
tests/autorag/data/parse/test_parse_base.py
|
|
339
|
+
tests/autorag/data/parse/test_parse_run.py
|
|
340
|
+
tests/autorag/data/parse/test_table_hybrid_parse.py
|
|
275
341
|
tests/autorag/data/qacreation/test_base_qacreation.py
|
|
276
342
|
tests/autorag/data/qacreation/test_llama_index_qacreation.py
|
|
277
343
|
tests/autorag/data/qacreation/test_ragas_qa_creation.py
|
|
@@ -339,6 +405,7 @@ tests/autorag/nodes/retrieval/test_hybrid_rrf.py
|
|
|
339
405
|
tests/autorag/nodes/retrieval/test_retrieval_base.py
|
|
340
406
|
tests/autorag/nodes/retrieval/test_run_retrieval_node.py
|
|
341
407
|
tests/autorag/nodes/retrieval/test_vectordb.py
|
|
408
|
+
tests/autorag/schema/test_metricinput_schema.py
|
|
342
409
|
tests/autorag/schema/test_module_schema.py
|
|
343
410
|
tests/autorag/schema/test_node_schema.py
|
|
344
411
|
tests/autorag/utils/test_preprocess.py
|
|
@@ -350,10 +417,30 @@ tests/resources/qa_data_sample.parquet
|
|
|
350
417
|
tests/resources/qa_test_data_sample.parquet
|
|
351
418
|
tests/resources/sample_contents_nqa.csv
|
|
352
419
|
tests/resources/simple.yaml
|
|
420
|
+
tests/resources/simple_chunk.yaml
|
|
421
|
+
tests/resources/simple_mock.yaml
|
|
422
|
+
tests/resources/simple_parse.yaml
|
|
353
423
|
tests/resources/test_bm25_retrieval.pkl
|
|
424
|
+
tests/resources/chunk_data/sample_parsed.parquet
|
|
354
425
|
tests/resources/data_creation/raw_dir/sample1.txt
|
|
355
426
|
tests/resources/data_creation/raw_dir/sample2.txt
|
|
356
427
|
tests/resources/data_creation/raw_dir/sample3.txt
|
|
428
|
+
tests/resources/parse_data/all_files/baseball_1.pdf
|
|
429
|
+
tests/resources/parse_data/all_files/csv_sample.csv
|
|
430
|
+
tests/resources/parse_data/clova_data/result_sample.json
|
|
431
|
+
tests/resources/parse_data/clova_data/result_table.txt
|
|
432
|
+
tests/resources/parse_data/clova_data/result_text.txt
|
|
433
|
+
tests/resources/parse_data/csv_data/csv_sample.csv
|
|
434
|
+
tests/resources/parse_data/eng_text/baseball_1.pdf
|
|
435
|
+
tests/resources/parse_data/eng_text/baseball_2.pdf
|
|
436
|
+
tests/resources/parse_data/html_data/html_sample.html
|
|
437
|
+
tests/resources/parse_data/hybrid_data/nfl_rulebook_both.pdf
|
|
438
|
+
tests/resources/parse_data/json_data/json_sample.json
|
|
439
|
+
tests/resources/parse_data/korean_table/only_table/kbo_only_table.pdf
|
|
440
|
+
tests/resources/parse_data/korean_table/table_text/kbo_table_text.pdf
|
|
441
|
+
tests/resources/parse_data/korean_text/korean_texts_two_page.pdf
|
|
442
|
+
tests/resources/parse_data/markdown_data/markdown_sample.md
|
|
443
|
+
tests/resources/parse_data/xml_data/xml_sample.xml
|
|
357
444
|
tests/resources/qa_gen_prompts/prompt1.txt
|
|
358
445
|
tests/resources/qa_gen_prompts/prompt2.txt
|
|
359
446
|
tests/resources/qa_gen_prompts/prompt3.txt
|
|
@@ -14,8 +14,7 @@ rouge_score
|
|
|
14
14
|
rich
|
|
15
15
|
chromadb>=0.5.0
|
|
16
16
|
click
|
|
17
|
-
|
|
18
|
-
uvicorn
|
|
17
|
+
Flask
|
|
19
18
|
torch
|
|
20
19
|
sentencepiece
|
|
21
20
|
guidance
|
|
@@ -28,8 +27,8 @@ FlagEmbedding
|
|
|
28
27
|
ragas
|
|
29
28
|
llmlingua
|
|
30
29
|
peft
|
|
31
|
-
llama-index>=0.
|
|
32
|
-
llama-index-core>=0.
|
|
30
|
+
llama-index>=0.11.0
|
|
31
|
+
llama-index-core>=0.11.0
|
|
33
32
|
llama-index-readers-file
|
|
34
33
|
llama-index-embeddings-openai
|
|
35
34
|
llama-index-embeddings-huggingface
|
|
@@ -39,7 +38,10 @@ llama-index-llms-openai-like
|
|
|
39
38
|
llama-index-llms-ollama
|
|
40
39
|
llama-index-retrievers-bm25
|
|
41
40
|
streamlit
|
|
41
|
+
gradio
|
|
42
42
|
langchain-core>=0.1.6
|
|
43
|
+
langchain_unstructured
|
|
44
|
+
langchain-upstage
|
|
43
45
|
panel
|
|
44
46
|
seaborn
|
|
45
47
|
ipykernel
|
|
@@ -48,7 +50,23 @@ ipywidgets_bokeh
|
|
|
48
50
|
|
|
49
51
|
[all]
|
|
50
52
|
AutoRAG[ko]
|
|
53
|
+
AutoRAG[dev]
|
|
54
|
+
AutoRAG[parse]
|
|
55
|
+
|
|
56
|
+
[dev]
|
|
57
|
+
ruff
|
|
58
|
+
pre-commit
|
|
51
59
|
|
|
52
60
|
[ko]
|
|
53
|
-
kiwipiepy
|
|
61
|
+
kiwipiepy>=0.18.0
|
|
54
62
|
konlpy
|
|
63
|
+
|
|
64
|
+
[parse]
|
|
65
|
+
PyMuPDF
|
|
66
|
+
pdfminer.six
|
|
67
|
+
pdfplumber
|
|
68
|
+
unstructured
|
|
69
|
+
jq
|
|
70
|
+
unstructured[pdf]
|
|
71
|
+
PyPDF2<3.0
|
|
72
|
+
pdf2image
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# Getting Started
|
|
2
|
+
|
|
3
|
+
Thank you so much for your consideration of contributing to AutoRAG!
|
|
4
|
+
Okay Let's get started!
|
|
5
|
+
|
|
6
|
+
## Quickstart
|
|
7
|
+
|
|
8
|
+
1. Fork the repo and clone your fork
|
|
9
|
+
2. Create a new virtual environment and activate it
|
|
10
|
+
3. Install the dependencies and package (`pip install -e '.[all]'`)
|
|
11
|
+
4. Install docs and test dependencies (`pip install -r docs/requirements.txt` and `pip install -r tests/requirements.txt`)
|
|
12
|
+
|
|
13
|
+
Also, join our Discord at [here](https://discord.gg/P4DYXfmSAs) and discuss about your contribution with the community.
|
|
14
|
+
|
|
15
|
+
## Contribution Guidelines
|
|
16
|
+
|
|
17
|
+
### What should I work on?
|
|
18
|
+
|
|
19
|
+
1. Add new modules or nodes to the AutoRAG.
|
|
20
|
+
2. Fix bugs
|
|
21
|
+
3. Add new feature to the AutoRAG
|
|
22
|
+
4. Add new sample config YAML files
|
|
23
|
+
5. Add new sample dataset
|
|
24
|
+
6. Improve code quality & documentation
|
|
25
|
+
7. Report a bug or suggest new feature
|
|
26
|
+
|
|
27
|
+
It can be great you search 'good first issue' tag on github issue tab.
|
|
28
|
+
|
|
29
|
+
# Development Guidelines
|
|
30
|
+
|
|
31
|
+
## Repo Structure
|
|
32
|
+
|
|
33
|
+
The `AutoRAG` repo have a standard python library structure.
|
|
34
|
+
|
|
35
|
+
You can find the core part of the library in `autorag` folder.
|
|
36
|
+
You can find the test codes of the `AutoRAG` at the `tests` folder.
|
|
37
|
+
Plus, you can find the [AutoRAG docs](https://docs.auto-rag.com) at the `docs` folder.
|
|
38
|
+
|
|
39
|
+
For resources, you can find sample config YAML files at `sample_config` folder.
|
|
40
|
+
Plus, you can find sample dataset download script from `sample_dataset` folder.
|
|
41
|
+
|
|
42
|
+
## Setting up environment
|
|
43
|
+
|
|
44
|
+
As a python package, AutoRAG tested primarily in Python versions >= 3.9.
|
|
45
|
+
Here's a guide to set environment.
|
|
46
|
+
|
|
47
|
+
1. Fork [AutoRAG Github repo](https://github.com/Marker-Inc-Korea/AutoRAG) and clone it to your local machine. (New to GitHub / git? Here's [how](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo).)
|
|
48
|
+
2. Open your cloned repository to your IDE or open your project at the terminal through `cd`.
|
|
49
|
+
3. Install pre-commit hooks by running `pre-commit install` in the terminal.
|
|
50
|
+
4. Make a new virtual environment (Highly Recommended)
|
|
51
|
+
5. Install AutoRAG as development version. `pip install -e '.[all]'`
|
|
52
|
+
6. Install test dependencies `pip install -r tests/requirements.txt`
|
|
53
|
+
7. Write `pytest.ini` file and add env variable for running tests. (We do not need OPENAI_API_KEY at GitHub actions)
|
|
54
|
+
```ini
|
|
55
|
+
[pytest]
|
|
56
|
+
env =
|
|
57
|
+
OPENAI_API_KEY=sk-xxxx
|
|
58
|
+
|
|
59
|
+
log_cli=true
|
|
60
|
+
log_cli_level=INFO
|
|
61
|
+
```
|
|
62
|
+
8. Install docs dependencies `pip install -r docs/requirements.txt`
|
|
63
|
+
|
|
64
|
+
## Validating your change
|
|
65
|
+
|
|
66
|
+
Let's make sure to `format/lint` our change.
|
|
67
|
+
For bigger changes, let's also make sure to `test` our change.
|
|
68
|
+
|
|
69
|
+
### Formatting/Linting
|
|
70
|
+
|
|
71
|
+
We use `ruff` to linting and formatting our code.
|
|
72
|
+
If you have installed pre-commit hooks in this repo, they should have taken care of the formatting and linting automatically.
|
|
73
|
+
(Use `pre-commit install`)
|
|
74
|
+
|
|
75
|
+
If you want to do it manually, you can lint and format with ruff.
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
ruff check --fix
|
|
79
|
+
ruff format
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Testing
|
|
83
|
+
|
|
84
|
+
If you modified or added new code logic, you have to create tests for them, too.
|
|
85
|
+
- In almost all cases, add unit tests.
|
|
86
|
+
- If your new features uses heavy GPU models or outside API connections, you must use mock and pytest fixtures.
|
|
87
|
+
- The added test case must not leave any extra files.
|
|
88
|
+
- You must cover all cases of features or adjust that you made.
|
|
89
|
+
- If you don't know well about `pytest`, `pytest-env` and pytest fixtures and mock, please learn about it.
|
|
90
|
+
- Lastly, if the test you made must need CUDA-enabled device, you can mark the test with `@pytest.mark.skipif(is_github_action())` so we can skip it on github actions.
|
|
91
|
+
|
|
92
|
+
Plus, your test will run as github actions when you try to merge it to the main branch.
|
|
93
|
+
|
|
94
|
+
#### Warning about OPENAI_API_KEY
|
|
95
|
+
|
|
96
|
+
When executing test at github actions, it will be failed due to the OpenAI API key.
|
|
97
|
+
Don't worry, we will run the test locally and merge your code if there is no problem.
|
|
98
|
+
|
|
99
|
+
## Making a Pull Request
|
|
100
|
+
|
|
101
|
+
You can make a pull request to the main branch of the AutoRAG repo.
|
|
102
|
+
At the fork repository, you will make a PR to AutoRAG repo.
|
|
103
|
+
You can assign the issue with `close #issue_number` to automatically close the issue when the PR is merged.
|
|
104
|
+
|
|
105
|
+
After that, please assign `vkehfdl1` or `bwook00` as a reviewer.
|
|
106
|
+
For merge, you will have to get at least one approval from the reviewer.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: AutoRAG
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.16
|
|
4
4
|
Summary: Automatically Evaluate RAG pipelines with your own data. Find optimal structure for new RAG product.
|
|
5
5
|
Author-email: Marker-Inc <vkehfdl1@gmail.com>
|
|
6
6
|
License: Apache License
|
|
@@ -236,8 +236,7 @@ Requires-Dist: rouge_score
|
|
|
236
236
|
Requires-Dist: rich
|
|
237
237
|
Requires-Dist: chromadb>=0.5.0
|
|
238
238
|
Requires-Dist: click
|
|
239
|
-
Requires-Dist:
|
|
240
|
-
Requires-Dist: uvicorn
|
|
239
|
+
Requires-Dist: Flask
|
|
241
240
|
Requires-Dist: torch
|
|
242
241
|
Requires-Dist: sentencepiece
|
|
243
242
|
Requires-Dist: guidance
|
|
@@ -250,8 +249,8 @@ Requires-Dist: FlagEmbedding
|
|
|
250
249
|
Requires-Dist: ragas
|
|
251
250
|
Requires-Dist: llmlingua
|
|
252
251
|
Requires-Dist: peft
|
|
253
|
-
Requires-Dist: llama-index>=0.
|
|
254
|
-
Requires-Dist: llama-index-core>=0.
|
|
252
|
+
Requires-Dist: llama-index>=0.11.0
|
|
253
|
+
Requires-Dist: llama-index-core>=0.11.0
|
|
255
254
|
Requires-Dist: llama-index-readers-file
|
|
256
255
|
Requires-Dist: llama-index-embeddings-openai
|
|
257
256
|
Requires-Dist: llama-index-embeddings-huggingface
|
|
@@ -261,17 +260,34 @@ Requires-Dist: llama-index-llms-openai-like
|
|
|
261
260
|
Requires-Dist: llama-index-llms-ollama
|
|
262
261
|
Requires-Dist: llama-index-retrievers-bm25
|
|
263
262
|
Requires-Dist: streamlit
|
|
263
|
+
Requires-Dist: gradio
|
|
264
264
|
Requires-Dist: langchain-core>=0.1.6
|
|
265
|
+
Requires-Dist: langchain_unstructured
|
|
266
|
+
Requires-Dist: langchain-upstage
|
|
265
267
|
Requires-Dist: panel
|
|
266
268
|
Requires-Dist: seaborn
|
|
267
269
|
Requires-Dist: ipykernel
|
|
268
270
|
Requires-Dist: ipywidgets
|
|
269
271
|
Requires-Dist: ipywidgets_bokeh
|
|
270
272
|
Provides-Extra: ko
|
|
271
|
-
Requires-Dist: kiwipiepy; extra == "ko"
|
|
273
|
+
Requires-Dist: kiwipiepy>=0.18.0; extra == "ko"
|
|
272
274
|
Requires-Dist: konlpy; extra == "ko"
|
|
275
|
+
Provides-Extra: dev
|
|
276
|
+
Requires-Dist: ruff; extra == "dev"
|
|
277
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
278
|
+
Provides-Extra: parse
|
|
279
|
+
Requires-Dist: PyMuPDF; extra == "parse"
|
|
280
|
+
Requires-Dist: pdfminer.six; extra == "parse"
|
|
281
|
+
Requires-Dist: pdfplumber; extra == "parse"
|
|
282
|
+
Requires-Dist: unstructured; extra == "parse"
|
|
283
|
+
Requires-Dist: jq; extra == "parse"
|
|
284
|
+
Requires-Dist: unstructured[pdf]; extra == "parse"
|
|
285
|
+
Requires-Dist: PyPDF2<3.0; extra == "parse"
|
|
286
|
+
Requires-Dist: pdf2image; extra == "parse"
|
|
273
287
|
Provides-Extra: all
|
|
274
288
|
Requires-Dist: AutoRAG[ko]; extra == "all"
|
|
289
|
+
Requires-Dist: AutoRAG[dev]; extra == "all"
|
|
290
|
+
Requires-Dist: AutoRAG[parse]; extra == "all"
|
|
275
291
|
|
|
276
292
|
# AutoRAG
|
|
277
293
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.2.16
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
import logging.config
|
|
3
|
+
import os
|
|
4
|
+
import sys
|
|
5
|
+
from random import random
|
|
6
|
+
from typing import List
|
|
7
|
+
|
|
8
|
+
import transformers
|
|
9
|
+
from llama_index.core import MockEmbedding
|
|
10
|
+
from llama_index.core.llms.mock import MockLLM
|
|
11
|
+
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
|
12
|
+
from llama_index.embeddings.openai import OpenAIEmbedding
|
|
13
|
+
from llama_index.embeddings.openai import OpenAIEmbeddingModelType
|
|
14
|
+
from llama_index.llms.huggingface import HuggingFaceLLM
|
|
15
|
+
from llama_index.llms.ollama import Ollama
|
|
16
|
+
from llama_index.llms.openai import OpenAI
|
|
17
|
+
from llama_index.llms.openai_like import OpenAILike
|
|
18
|
+
from langchain.embeddings import OpenAIEmbeddings
|
|
19
|
+
from rich.logging import RichHandler
|
|
20
|
+
|
|
21
|
+
version_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "VERSION")
|
|
22
|
+
|
|
23
|
+
with open(version_path, "r") as f:
|
|
24
|
+
__version__ = f.read().strip()
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class LazyInit:
|
|
28
|
+
def __init__(self, factory, *args, **kwargs):
|
|
29
|
+
self._factory = factory
|
|
30
|
+
self._args = args
|
|
31
|
+
self._kwargs = kwargs
|
|
32
|
+
self._instance = None
|
|
33
|
+
|
|
34
|
+
def __call__(self):
|
|
35
|
+
if self._instance is None:
|
|
36
|
+
self._instance = self._factory(*self._args, **self._kwargs)
|
|
37
|
+
return self._instance
|
|
38
|
+
|
|
39
|
+
def __getattr__(self, name):
|
|
40
|
+
if self._instance is None:
|
|
41
|
+
self._instance = self._factory(*self._args, **self._kwargs)
|
|
42
|
+
return getattr(self._instance, name)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class MockEmbeddingRandom(MockEmbedding):
|
|
46
|
+
"""Mock embedding with random vectors."""
|
|
47
|
+
|
|
48
|
+
def _get_vector(self) -> List[float]:
|
|
49
|
+
return [random() for _ in range(self.embed_dim)]
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
embedding_models = {
|
|
53
|
+
# llama index
|
|
54
|
+
"openai": LazyInit(
|
|
55
|
+
OpenAIEmbedding
|
|
56
|
+
), # default model is OpenAIEmbeddingModelType.TEXT_EMBED_ADA_002
|
|
57
|
+
"openai_embed_3_large": LazyInit(
|
|
58
|
+
OpenAIEmbedding, model_name=OpenAIEmbeddingModelType.TEXT_EMBED_3_LARGE
|
|
59
|
+
),
|
|
60
|
+
"openai_embed_3_small": LazyInit(
|
|
61
|
+
OpenAIEmbedding, model_name=OpenAIEmbeddingModelType.TEXT_EMBED_3_SMALL
|
|
62
|
+
),
|
|
63
|
+
# you can use your own model in this way.
|
|
64
|
+
"huggingface_baai_bge_small": LazyInit(
|
|
65
|
+
HuggingFaceEmbedding, model_name="BAAI/bge-small-en-v1.5"
|
|
66
|
+
),
|
|
67
|
+
"huggingface_cointegrated_rubert_tiny2": LazyInit(
|
|
68
|
+
HuggingFaceEmbedding, model_name="cointegrated/rubert-tiny2"
|
|
69
|
+
),
|
|
70
|
+
"huggingface_all_mpnet_base_v2": LazyInit(
|
|
71
|
+
HuggingFaceEmbedding,
|
|
72
|
+
model_name="sentence-transformers/all-mpnet-base-v2",
|
|
73
|
+
max_length=512,
|
|
74
|
+
),
|
|
75
|
+
"huggingface_bge_m3": LazyInit(HuggingFaceEmbedding, model_name="BAAI/bge-m3"),
|
|
76
|
+
"mock": LazyInit(MockEmbeddingRandom, embed_dim=768),
|
|
77
|
+
# langchain
|
|
78
|
+
"openai_langchain": LazyInit(OpenAIEmbeddings),
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
generator_models = {
|
|
82
|
+
"openai": OpenAI,
|
|
83
|
+
"huggingfacellm": HuggingFaceLLM,
|
|
84
|
+
"openailike": OpenAILike,
|
|
85
|
+
"ollama": Ollama,
|
|
86
|
+
"mock": MockLLM,
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
rich_format = "[%(filename)s:%(lineno)s] >> %(message)s"
|
|
90
|
+
logging.basicConfig(
|
|
91
|
+
level="INFO", format=rich_format, handlers=[RichHandler(rich_tracebacks=True)]
|
|
92
|
+
)
|
|
93
|
+
logger = logging.getLogger("AutoRAG")
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
def handle_exception(exc_type, exc_value, exc_traceback):
|
|
97
|
+
logger = logging.getLogger("AutoRAG")
|
|
98
|
+
logger.error("Unexpected exception", exc_info=(exc_type, exc_value, exc_traceback))
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
sys.excepthook = handle_exception
|
|
102
|
+
|
|
103
|
+
transformers.logging.set_verbosity_error()
|