AutoRAG 0.3.22__tar.gz → 0.3.23__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.3.22 → autorag-0.3.23}/PKG-INFO +22 -19
- {autorag-0.3.22 → autorag-0.3.23}/README.md +4 -1
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/parse/table_hybrid_parse.py +6 -6
- {autorag-0.3.22 → autorag-0.3.23}/pyproject.toml +18 -19
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/generator/test_vllm.py +6 -5
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/hybridretrieval/test_run_hybrid_retrieval.py +5 -4
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/lexicalretrieval/test_run_lexical_retrieval.py +6 -2
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagefilter/test_passage_filter_run.py +4 -5
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_passage_reranker_run.py +4 -6
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/semanticretrieval/test_run_semantic_retrieval.py +5 -4
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/test_cli.py +7 -5
- autorag-0.3.23/tests/autorag/vectordb/test_couchbase.py +77 -0
- autorag-0.3.23/tests/autorag/vectordb/test_milvus.py +75 -0
- autorag-0.3.23/tests/autorag/vectordb/test_pinecone.py +74 -0
- autorag-0.3.23/tests/autorag/vectordb/test_qdrant.py +74 -0
- autorag-0.3.23/tests/autorag/vectordb/test_weaviate.py +73 -0
- {autorag-0.3.22 → autorag-0.3.23}/uv.lock +1015 -771
- autorag-0.3.22/.github/FUNDING.yml +0 -2
- autorag-0.3.22/.github/ISSUE_TEMPLATE/bug_report.md +0 -35
- autorag-0.3.22/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- autorag-0.3.22/.github/copilot-instructions.md +0 -317
- autorag-0.3.22/.github/dependabot.yml +0 -11
- autorag-0.3.22/.github/workflows/publish.yml +0 -63
- autorag-0.3.22/.github/workflows/sphinx.yml +0 -41
- autorag-0.3.22/.github/workflows/test.yml +0 -53
- autorag-0.3.22/CODE_OF_CONDUCT.md +0 -39
- autorag-0.3.22/tests/autorag/vectordb/test_couchbase.py +0 -83
- autorag-0.3.22/tests/autorag/vectordb/test_milvus.py +0 -81
- autorag-0.3.22/tests/autorag/vectordb/test_pinecone.py +0 -80
- autorag-0.3.22/tests/autorag/vectordb/test_qdrant.py +0 -80
- autorag-0.3.22/tests/autorag/vectordb/test_weaviate.py +0 -79
- {autorag-0.3.22 → autorag-0.3.23}/.gitignore +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/.pre-commit-config.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/CNAME +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/CONTRIBUTING.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/LICENSE +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/chunker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/cli.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/dashboard.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/chunk/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/chunk/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/chunk/langchain_chunk.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/chunk/llama_index_chunk.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/chunk/run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/legacy/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/legacy/corpus/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/legacy/corpus/langchain.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/legacy/corpus/llama_index.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/legacy/qacreation/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/legacy/qacreation/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/legacy/qacreation/llama_index.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/legacy/qacreation/llama_index_default_prompt.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/legacy/qacreation/ragas.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/legacy/qacreation/simple.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/parse/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/parse/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/parse/clova.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/parse/langchain_parse.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/parse/llamaparse.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/parse/run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/evolve/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/evolve/llama_index_query_evolve.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/evolve/openai_query_evolve.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/evolve/prompt.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/extract_evidence.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/filter/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/filter/dontknow.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/filter/passage_dependency.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/filter/prompt.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/generation_gt/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/generation_gt/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/generation_gt/llama_index_gen_gt.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/generation_gt/openai_gen_gt.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/generation_gt/prompt.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/query/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/query/llama_gen_query.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/query/openai_gen_query.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/query/prompt.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/sample.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/qa/schema.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/utils/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/data/utils/util.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/deploy/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/deploy/api.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/deploy/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/deploy/gradio.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/deploy/swagger.yml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/embedding/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/embedding/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/embedding/vllm.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/generation.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/metric/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/metric/deepeval_prompt.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/metric/g_eval_prompts/coh_detailed.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/metric/g_eval_prompts/con_detailed.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/metric/g_eval_prompts/flu_detailed.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/metric/g_eval_prompts/rel_detailed.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/metric/generation.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/metric/retrieval.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/metric/retrieval_contents.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/metric/util.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/retrieval.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/retrieval_contents.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluation/util.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/evaluator.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/node_line.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/generator/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/generator/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/generator/llama_index_llm.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/generator/minimax_llm.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/generator/openai_llm.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/generator/run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/generator/vllm.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/generator/vllm_api.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/hybridretrieval/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/hybridretrieval/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/hybridretrieval/hybrid_cc.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/hybridretrieval/hybrid_rrf.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/hybridretrieval/run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/lexicalretrieval/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/lexicalretrieval/bm25.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/lexicalretrieval/run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passageaugmenter/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passageaugmenter/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passageaugmenter/pass_passage_augmenter.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passageaugmenter/prev_next_augmenter.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passageaugmenter/run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagecompressor/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagecompressor/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagecompressor/longllmlingua.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagecompressor/pass_compressor.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagecompressor/refine.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagecompressor/run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagecompressor/tree_summarize.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagefilter/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagefilter/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagefilter/pass_passage_filter.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagefilter/percentile_cutoff.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagefilter/recency.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagefilter/run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagefilter/similarity_percentile_cutoff.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagefilter/similarity_threshold_cutoff.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagefilter/threshold_cutoff.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/cohere.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/colbert.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/flag_embedding.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/flag_embedding_llm.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/flashrank.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/jina.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/koreranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/mixedbreadai.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/monot5.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/nvidia.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/openvino.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/pass_reranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/rankgpt.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/sentence_transformer.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/tart/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/tart/modeling_enc_t5.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/tart/tart.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/tart/tokenization_enc_t5.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/time_reranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/upr.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/passagereranker/voyageai.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/promptmaker/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/promptmaker/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/promptmaker/chat_fstring.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/promptmaker/fstring.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/promptmaker/long_context_reorder.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/promptmaker/run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/promptmaker/window_replacement.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/queryexpansion/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/queryexpansion/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/queryexpansion/hyde.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/queryexpansion/multi_query_expansion.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/queryexpansion/pass_query_expansion.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/queryexpansion/query_decompose.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/queryexpansion/run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/retrieval/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/retrieval/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/retrieval/run_util.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/semanticretrieval/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/semanticretrieval/run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/semanticretrieval/vectordb.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/nodes/util.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/parser.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/schema/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/schema/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/schema/metricinput.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/schema/module.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/schema/node.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/strategy.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/support.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/utils/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/utils/cast.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/utils/preprocess.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/utils/util.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/validator.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/vectordb/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/vectordb/base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/vectordb/chroma.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/vectordb/couchbase.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/vectordb/milvus.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/vectordb/pinecone.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/vectordb/qdrant.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/vectordb/weaviate.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/autorag/web.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/CNAME +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/Makefile +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/make.bat +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/requirements.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/CNAME +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/data_creation.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/data_creation_pipeline.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/data_folder.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/dcg.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/f1_score.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/integration/couchbase_search_index.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/integration/nvidia_api.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/integration/nvidia_nim.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/integration/ollama_autorag.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/map.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/mrr.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/ndcg.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/ndcg_formula.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/node_folder.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/node_line_folder.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/node_line_summary.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/node_lines.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/node_summary.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/normal_distribution.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/project_folder_example.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/project_folders.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/qa/data_creation_schema.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/resources_folder.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/roadmap/RAG_paradigms.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/roadmap/advanced_RAG.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/roadmap/cycle.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/roadmap/merger.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/roadmap/node_line_modular.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/roadmap/policy.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/samsung_sundae.jpeg +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/score_fusion.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/trial_folder.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/trial_json.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/trial_summary.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/web_interface.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/web_interface_gradio.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/yaml/compact_structured.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/yaml/detail_folder.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/yaml/full_modules.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/yaml/full_structured.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/yaml/full_yaml_structure.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/yaml/gpu_modules.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/yaml/half_structured.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/yaml/non_gpu_modules.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/yaml/sample_yaml_folder.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/_static/yaml/simple_structured.png +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.chunk.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.corpus.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.legacy.corpus.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.legacy.qacreation.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.legacy.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.parse.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.qa.evolve.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.qa.filter.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.qa.generation_gt.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.qa.query.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.qa.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.qacreation.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.data.utils.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.deploy.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.evaluation.metric.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.evaluation.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.nodes.generator.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.nodes.passageaugmenter.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.nodes.passagecompressor.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.nodes.passagefilter.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.nodes.passagereranker.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.nodes.passagereranker.tart.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.nodes.promptmaker.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.nodes.queryexpansion.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.nodes.retrieval.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.nodes.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.schema.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.utils.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/autorag.vectordb.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/api_spec/modules.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/conf.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/chunk/chunk.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/chunk/langchain_chunk.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/chunk/llama_index_chunk.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/data_creation.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/data_format.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/legacy/legacy.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/legacy/parse.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/legacy/ragas.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/legacy/tutorial.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/parse/clova.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/parse/langchain_parse.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/parse/llama_parse.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/parse/parse.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/parse/table_hybrid_parse.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/qa_creation/answer_gen.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/qa_creation/evolve.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/qa_creation/filter.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/qa_creation/qa_creation.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/qa_creation/query_gen.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/data_creation/tutorial.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/deploy/api_endpoint.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/deploy/web.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/evaluate_metrics/generation.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/evaluate_metrics/retrieval.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/evaluate_metrics/retrieval_contents.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/index.rst +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/install.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/integration/llm/aws_bedrock.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/integration/llm/huggingface_llm.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/integration/llm/llm.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/integration/llm/nvidia_nim.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/integration/llm/ollama.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/integration/vectordb/chroma.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/integration/vectordb/couchbase.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/integration/vectordb/milvus.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/integration/vectordb/pinecone.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/integration/vectordb/qdrant.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/integration/vectordb/vectordb.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/integration/vectordb/weaviate.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/local_model.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/migration.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/generator/generator.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/generator/llama_index_llm.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/generator/minimax_llm.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/generator/openai_llm.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/generator/vllm.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/generator/vllm_api.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/index.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_augmenter/passage_augmenter.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_augmenter/prev_next_augmenter.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_compressor/longllmlingua.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_compressor/passage_compressor.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_compressor/refine.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_compressor/tree_summarize.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_filter/passage_filter.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_filter/percentile_cutoff.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_filter/recency_filter.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_filter/similarity_percentile_cutoff.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_filter/similarity_threshold_cutoff.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_filter/threshold_cutoff.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/cohere.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/colbert.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/flag_embedding_llm_reranker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/flag_embedding_reranker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/flashrank_reranker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/jina_reranker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/koreranker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/mixedbreadai_reranker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/monot5.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/nvidia_reranker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/openvino_reranker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/passage_reranker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/rankgpt.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/sentence_transformer_reranker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/tart.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/time_reranker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/upr.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/passage_reranker/voyageai_reranker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/prompt_maker/chat_fstring.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/prompt_maker/fstring.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/prompt_maker/long_context_reorder.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/prompt_maker/prompt_maker.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/prompt_maker/window_replacement.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/query_expansion/hyde.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/query_expansion/multi_query_expansion.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/query_expansion/query_decompose.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/query_expansion/query_expansion.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/retrieval/bm25.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/retrieval/hybrid_cc.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/retrieval/hybrid_rrf.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/retrieval/retrieval.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/nodes/retrieval/vectordb.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/optimization/custom_config.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/optimization/folder_structure.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/optimization/optimization.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/optimization/sample_config.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/optimization/strategies.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/roadmap/modular_rag.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/structure.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/test_your_rag.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/troubleshooting.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/docs/source/tutorial.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/chunk/chunk_full.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/chunk/chunk_ko.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/chunk/simple_chunk.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/parse/all_files_full.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/parse/file_types_full.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/parse/parse_hybird.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/parse/parse_ko.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/parse/parse_multimodal.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/parse/parse_ocr.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/parse/simple_parse.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/gpu/compact_local.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/gpu/compact_openai.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/gpu/full.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/gpu/half.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/gpu_api/compact.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/gpu_api/full.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/gpu_api/half.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/non_gpu/compact.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/non_gpu/full.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/non_gpu/half.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/non_gpu/simple_bedrock.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/non_gpu/simple_local.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/non_gpu/simple_minimax.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/non_gpu/simple_ollama.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/english/non_gpu/simple_openai.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/extracted_sample.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/full.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/korean/gpu/compact_korean.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/korean/gpu/full_korean.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/korean/gpu/half_korean.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/korean/gpu_api/compact_korean.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/korean/gpu_api/full_korean.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/korean/gpu_api/half_korean.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/korean/non_gpu/compact_korean.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/korean/non_gpu/full_korean.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/korean/non_gpu/half_korean.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_config/rag/korean/non_gpu/simple_korean.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_dataset/README.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_dataset/eli5/load_eli5_dataset.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_dataset/hotpotqa/load_hotpotqa_dataset.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_dataset/msmarco/load_msmarco_dataset.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/sample_dataset/triviaqa/load_triviaqa_dataset.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/__init__.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/chunk/test_chunk_base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/chunk/test_chunk_run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/chunk/test_langchain_chunk.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/chunk/test_llama_index_chunk.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/legacy/corpus/test_base_corpus_legacy.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/legacy/corpus/test_langchain.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/legacy/corpus/test_llama_index_corpus.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/legacy/qacreation/test_base_qacreation.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/legacy/qacreation/test_llama_index_qacreation.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/legacy/qacreation/test_ragas_qa_creation.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/legacy/qacreation/test_simple.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/parse/test_clova.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/parse/test_langchain_parse.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/parse/test_llamaparse.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/parse/test_parse_base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/parse/test_parse_run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/parse/test_table_hybrid_parse.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/evolve/base_test_query_evolve.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/evolve/test_llama_index_query_evolve.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/evolve/test_openai_query_evolve.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/filter/test_dontknow.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/filter/test_passage_dependency.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/generation_gt/base_test_generation_gt.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/generation_gt/test_llama_index_gen_gt.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/generation_gt/test_openai_gen_gt.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/query/base_test_query_gen.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/query/test_llama_gen_query.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/query/test_openai_gen_query.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/test_data_creation_piepline.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/test_sample.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/data/qa/test_schema.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/embedding/test_base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/evaluate/metric/test_generation_metric.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/evaluate/metric/test_retrieval_contents_metric.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/evaluate/metric/test_retrieval_metric.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/evaluate/test_evaluate_util.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/evaluate/test_generation_evaluate.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/evaluate/test_retrieval_contents_evaluate.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/evaluate/test_retrieval_evaluate.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/generator/test_generator_base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/generator/test_llama_index_llm.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/generator/test_minimax.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/generator/test_openai.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/generator/test_run_generator_node.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/hybridretrieval/test_hybrid_cc.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/hybridretrieval/test_hybrid_rrf.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/lexicalretrieval/test_bm25.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passageaugmenter/test_base_passage_augmenter.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passageaugmenter/test_pass_passage_augmenter.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passageaugmenter/test_prev_next_augmenter.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passageaugmenter/test_run_passage_augmenter.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagecompressor/test_base_passage_compressor.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagecompressor/test_longllmlingua.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagecompressor/test_pass_compressor.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagecompressor/test_refine.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagecompressor/test_run_passage_compressor_node.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagecompressor/test_tree_summarize.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagefilter/test_pass_passage_filter.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagefilter/test_passage_filter_base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagefilter/test_percentile_cutoff.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagefilter/test_recency_filter.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagefilter/test_similarity_percentile_cutoff.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagefilter/test_similarity_threshold_cutoff.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagefilter/test_threshold_cutoff.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_cohere_reranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_colbert_reranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_flag_embedding.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_flag_embedding_llm.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_flashrank_reranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_jina_reranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_koreranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_mixedbreadai_reranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_monot5.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_nvidia_reranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_openvino_reranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_pass_reranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_passage_reranker_base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_rankgpt.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_sentence_transformer.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_tart.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_time_reranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_upr.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_voyageai_reranker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/promptmaker/test_chat_fstring.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/promptmaker/test_fstring.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/promptmaker/test_long_context_reorder.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/promptmaker/test_prompt_maker_base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/promptmaker/test_prompt_maker_run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/promptmaker/test_window_replacement.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/queryexpansion/test_hyde.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/queryexpansion/test_multi_query_expansion.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/queryexpansion/test_pass_query_expansion.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/queryexpansion/test_query_decompose.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/queryexpansion/test_query_expansion_base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/queryexpansion/test_query_expansion_run.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/retrieval/test_hybrid_base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/retrieval/test_retrieval_base.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/semanticretrieval/test_vectordb.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/schema/test_base_schema.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/schema/test_metricinput_schema.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/schema/test_module_schema.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/schema/test_node_schema.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/test_chunker.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/test_dashboard.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/test_deploy.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/test_evaluator.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/test_parser.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/test_strategy.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/test_support.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/test_validator.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/test_web.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/utils/test_preprocess.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/utils/test_util.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/vectordb/test_base_vectordb.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/autorag/vectordb/test_chroma.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/conftest.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/delete_tests.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/mock.py +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/README.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/chunk_data/sample_parsed.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/corpus_data_sample.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/data_creation/raw_dir/sample1.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/data_creation/raw_dir/sample2.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/data_creation/raw_dir/sample3.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/dataset_sample_gen_by_autorag/corpus.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/dataset_sample_gen_by_autorag/qa.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/full.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/all_files/baseball_1.pdf +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/all_files/csv_sample.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/all_files_full/baseball_1.pdf +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/all_files_full/csv_sample.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/all_files_full/html_sample.html +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/all_files_full/json_sample.json +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/all_files_full/markdown_sample.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/all_files_full/xml_sample.xml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/clova_data/result_sample.json +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/clova_data/result_table.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/clova_data/result_text.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/config/all_files.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/config/lack_full_parse.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/config/lack_simple_parse.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/config/perfect_full_parse.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/config/perfect_simple_parse.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/csv_data/csv_sample.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/eng_text/baseball_1.pdf +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/eng_text/baseball_2.pdf +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/html_data/html_sample.html +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/hybrid_data/nfl_rulebook_both.pdf +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/json_data/json_sample.json +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/korean_table/only_table/kbo_only_table.pdf +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/korean_table/table_text/kbo_table_text.pdf +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/korean_text/korean_texts_two_page.pdf +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/markdown_data/markdown_sample.md +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/parse_data/xml_data/xml_sample.xml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/qa_data_sample.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/qa_gen_prompts/prompt1.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/qa_gen_prompts/prompt2.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/qa_gen_prompts/prompt3.txt +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/qa_test_data_sample.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/config.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/post_retrieve_node_line/generator/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/post_retrieve_node_line/generator/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/post_retrieve_node_line/generator/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/post_retrieve_node_line/prompt_maker/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/post_retrieve_node_line/prompt_maker/1.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/post_retrieve_node_line/prompt_maker/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/post_retrieve_node_line/prompt_maker/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/post_retrieve_node_line/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/pre_retrieve_node_line/query_expansion/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/pre_retrieve_node_line/query_expansion/1.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/pre_retrieve_node_line/query_expansion/2.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/pre_retrieve_node_line/query_expansion/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/pre_retrieve_node_line/query_expansion/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/pre_retrieve_node_line/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/hybrid_retrieval/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/hybrid_retrieval/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/hybrid_retrieval/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/lexical_retrieval/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/lexical_retrieval/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/lexical_retrieval/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/passage_reranker/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/passage_reranker/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/passage_reranker/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/semantic_retrieval/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/semantic_retrieval/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/semantic_retrieval/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/retrieve_node_line/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/0/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/config.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/pre_retrieve_node_line/query_expansion/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/pre_retrieve_node_line/query_expansion/1.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/pre_retrieve_node_line/query_expansion/2.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/pre_retrieve_node_line/query_expansion/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/pre_retrieve_node_line/query_expansion/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/pre_retrieve_node_line/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/hybrid_retrieval/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/hybrid_retrieval/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/hybrid_retrieval/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/lexical_retrieval/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/lexical_retrieval/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/lexical_retrieval/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/passage_reranker/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/passage_reranker/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/passage_reranker/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/semantic_retrieval/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/semantic_retrieval/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/semantic_retrieval/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/1/retrieve_node_line/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/config.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/post_retrieve_node_line/prompt_maker/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/post_retrieve_node_line/prompt_maker/1.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/post_retrieve_node_line/prompt_maker/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/post_retrieve_node_line/prompt_maker/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/pre_retrieve_node_line/query_expansion/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/pre_retrieve_node_line/query_expansion/1.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/pre_retrieve_node_line/query_expansion/2.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/pre_retrieve_node_line/query_expansion/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/pre_retrieve_node_line/query_expansion/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/pre_retrieve_node_line/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/hybrid_retrieval/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/hybrid_retrieval/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/hybrid_retrieval/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/lexical_retrieval/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/lexical_retrieval/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/lexical_retrieval/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/passage_reranker/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/passage_reranker/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/passage_reranker/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/semantic_retrieval/0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/semantic_retrieval/best_0.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/semantic_retrieval/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/2/retrieve_node_line/summary.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/3/config.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/best.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/data/corpus.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/data/qa.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/resources/bm25_porter_stemmer.pkl +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/resources/chroma/6595d304-5270-4d9f-a267-c191366804ce/data_level0.bin +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/resources/chroma/6595d304-5270-4d9f-a267-c191366804ce/header.bin +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/resources/chroma/6595d304-5270-4d9f-a267-c191366804ce/length.bin +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/resources/chroma/6595d304-5270-4d9f-a267-c191366804ce/link_lists.bin +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/resources/chroma/chroma.sqlite3 +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/resources/vectordb.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/result_project/trial.json +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/sample_contents_nqa.csv +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/sample_project/data/corpus.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/sample_project/data/qa.parquet +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/sample_project/resources/bm25_gpt2.pkl +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/sample_project/resources/bm25_porter_stemmer.pkl +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/sample_project/resources/vectordb.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/simple.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/simple_chunk.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/simple_milvus.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/simple_mock.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/simple_mock_with_llm.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/simple_parse.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/simple_with_llm.yaml +0 -0
- {autorag-0.3.22 → autorag-0.3.23}/tests/resources/test_bm25_retrieval.pkl +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: AutoRAG
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.23
|
|
4
4
|
Summary: Automatically Evaluate RAG pipelines with your own data. Find optimal structure for new RAG product.
|
|
5
5
|
Project-URL: Homepage, https://github.com/Marker-Inc-Korea/AutoRAG
|
|
6
6
|
Author-email: Marker-Inc <vkehfdl1@gmail.com>
|
|
@@ -217,8 +217,8 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
|
217
217
|
Classifier: Topic :: Software Development :: Libraries
|
|
218
218
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
219
219
|
Requires-Python: <3.13,>=3.10
|
|
220
|
-
Requires-Dist: aiohttp
|
|
221
|
-
Requires-Dist: banks>=2.
|
|
220
|
+
Requires-Dist: aiohttp<3.14,>=3.12.13
|
|
221
|
+
Requires-Dist: banks>=2.4.2
|
|
222
222
|
Requires-Dist: chromadb>=1.0.0
|
|
223
223
|
Requires-Dist: click>=8.2.1
|
|
224
224
|
Requires-Dist: cohere>=5.18.0
|
|
@@ -228,19 +228,19 @@ Requires-Dist: emoji>=2.14.1
|
|
|
228
228
|
Requires-Dist: evaluate>=0.4.4
|
|
229
229
|
Requires-Dist: fastapi>=0.115.13
|
|
230
230
|
Requires-Dist: fastparquet>=2024.11.0
|
|
231
|
-
Requires-Dist: gradio>=
|
|
232
|
-
Requires-Dist: grpcio-health-checking<1.
|
|
233
|
-
Requires-Dist: grpcio-status<1.
|
|
234
|
-
Requires-Dist: grpcio-tools<1.
|
|
235
|
-
Requires-Dist: grpcio<1.
|
|
231
|
+
Requires-Dist: gradio>=6.15.0
|
|
232
|
+
Requires-Dist: grpcio-health-checking<1.83.0,>=1.66.2
|
|
233
|
+
Requires-Dist: grpcio-status<1.83.0,>=1.66.2
|
|
234
|
+
Requires-Dist: grpcio-tools<1.83.0,>=1.66.2
|
|
235
|
+
Requires-Dist: grpcio<1.83.0,>=1.66.2
|
|
236
236
|
Requires-Dist: ipykernel>=6.29.5
|
|
237
237
|
Requires-Dist: ipywidgets-bokeh>=1.6.0
|
|
238
238
|
Requires-Dist: ipywidgets>=8.1.7
|
|
239
239
|
Requires-Dist: langchain-community>=0.4.1
|
|
240
|
-
Requires-Dist: langchain-core>=1.
|
|
241
|
-
Requires-Dist: langchain-text-splitters>=1.1.
|
|
242
|
-
Requires-Dist: langchain>=1.
|
|
243
|
-
Requires-Dist: langsmith>=0.
|
|
240
|
+
Requires-Dist: langchain-core>=1.3.3
|
|
241
|
+
Requires-Dist: langchain-text-splitters>=1.1.2
|
|
242
|
+
Requires-Dist: langchain>=1.3.9
|
|
243
|
+
Requires-Dist: langsmith>=0.8.18
|
|
244
244
|
Requires-Dist: llama-index-core>=0.12.42
|
|
245
245
|
Requires-Dist: llama-index-embeddings-ollama>=0.6.0
|
|
246
246
|
Requires-Dist: llama-index-embeddings-openai-like>=0.1.1
|
|
@@ -252,14 +252,14 @@ Requires-Dist: llama-index-readers-file>=0.4.9
|
|
|
252
252
|
Requires-Dist: llama-index-retrievers-bm25>=0.5.2
|
|
253
253
|
Requires-Dist: llama-index>=0.12.42
|
|
254
254
|
Requires-Dist: mixedbread-ai>=2.2.6
|
|
255
|
-
Requires-Dist: numpy
|
|
255
|
+
Requires-Dist: numpy>=2.2.6
|
|
256
256
|
Requires-Dist: openai>=2.8.0
|
|
257
257
|
Requires-Dist: pandas>=2.2.3
|
|
258
258
|
Requires-Dist: panel>=1.7.1
|
|
259
259
|
Requires-Dist: pinecone[grpc]
|
|
260
|
-
Requires-Dist: pyarrow>=
|
|
260
|
+
Requires-Dist: pyarrow>=23.0.1
|
|
261
261
|
Requires-Dist: pydantic>=2.9.2
|
|
262
|
-
Requires-Dist: pymilvus
|
|
262
|
+
Requires-Dist: pymilvus<3,>=2.6.0b0
|
|
263
263
|
Requires-Dist: pyngrok>=7.2.11
|
|
264
264
|
Requires-Dist: pyyaml>=6.0.2
|
|
265
265
|
Requires-Dist: qdrant-client>=1.12.1
|
|
@@ -270,7 +270,7 @@ Requires-Dist: rouge-score>=0.1.2
|
|
|
270
270
|
Requires-Dist: sacrebleu>=2.5.1
|
|
271
271
|
Requires-Dist: scikit-learn>=1.7.0
|
|
272
272
|
Requires-Dist: seaborn>=0.13.2
|
|
273
|
-
Requires-Dist: streamlit>=1.
|
|
273
|
+
Requires-Dist: streamlit>=1.54.0
|
|
274
274
|
Requires-Dist: tiktoken>=0.9.0
|
|
275
275
|
Requires-Dist: tokenlog>=0.0.3
|
|
276
276
|
Requires-Dist: tqdm>=4.67.1
|
|
@@ -292,7 +292,7 @@ Requires-Dist: pdfminer-six>=20250506; extra == 'all'
|
|
|
292
292
|
Requires-Dist: pdfplumber>=0.11.7; extra == 'all'
|
|
293
293
|
Requires-Dist: peft>=0.15.2; extra == 'all'
|
|
294
294
|
Requires-Dist: pymupdf>=1.26.1; extra == 'all'
|
|
295
|
-
Requires-Dist: pypdf2
|
|
295
|
+
Requires-Dist: pypdf2>=3.0.1; extra == 'all'
|
|
296
296
|
Requires-Dist: sentence-transformers>=4.1.0; extra == 'all'
|
|
297
297
|
Requires-Dist: sentencepiece>=0.2.0; extra == 'all'
|
|
298
298
|
Requires-Dist: sudachidict-core; extra == 'all'
|
|
@@ -327,11 +327,14 @@ Requires-Dist: pdf2image>=1.17.0; extra == 'parse'
|
|
|
327
327
|
Requires-Dist: pdfminer-six>=20250506; extra == 'parse'
|
|
328
328
|
Requires-Dist: pdfplumber>=0.11.7; extra == 'parse'
|
|
329
329
|
Requires-Dist: pymupdf>=1.26.1; extra == 'parse'
|
|
330
|
-
Requires-Dist: pypdf2
|
|
330
|
+
Requires-Dist: pypdf2>=3.0.1; extra == 'parse'
|
|
331
331
|
Requires-Dist: unstructured[pdf]>=0.17.2; extra == 'parse'
|
|
332
332
|
Description-Content-Type: text/markdown
|
|
333
333
|
|
|
334
|
-
# AutoRAG
|
|
334
|
+
# AutoRAG (Legacy)
|
|
335
|
+
|
|
336
|
+
> [!NOTE]
|
|
337
|
+
> This is the original Python-based AutoRAG — the RAG AutoML tool for automatically finding an optimal RAG pipeline for your data. It now lives in the `legacy/` directory of the AutoRAG monorepo and is in **maintenance mode**: it continues to receive bug fixes, dependency updates, and PyPI releases (`pip install AutoRAG`), but new feature development happens in [AutoRAG 2.0](../README.md) at the repository root.
|
|
335
338
|
|
|
336
339
|
RAG AutoML tool for automatically finding an optimal RAG pipeline for your data.
|
|
337
340
|
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
# AutoRAG
|
|
1
|
+
# AutoRAG (Legacy)
|
|
2
|
+
|
|
3
|
+
> [!NOTE]
|
|
4
|
+
> This is the original Python-based AutoRAG — the RAG AutoML tool for automatically finding an optimal RAG pipeline for your data. It now lives in the `legacy/` directory of the AutoRAG monorepo and is in **maintenance mode**: it continues to receive bug fixes, dependency updates, and PyPI releases (`pip install AutoRAG`), but new feature development happens in [AutoRAG 2.0](../README.md) at the repository root.
|
|
2
5
|
|
|
3
6
|
RAG AutoML tool for automatically finding an optimal RAG pipeline for your data.
|
|
4
7
|
|
|
@@ -3,7 +3,7 @@ import tempfile
|
|
|
3
3
|
from glob import glob
|
|
4
4
|
from typing import List, Tuple, Dict
|
|
5
5
|
|
|
6
|
-
from PyPDF2 import
|
|
6
|
+
from PyPDF2 import PdfReader, PdfWriter
|
|
7
7
|
import pdfplumber
|
|
8
8
|
|
|
9
9
|
from autorag.support import get_support_modules
|
|
@@ -76,8 +76,8 @@ def save_page_by_table(data_path: str, text_dir: str, table_dir: str) -> Dict[st
|
|
|
76
76
|
file_name = os.path.basename(data_path).split(".pdf")[0]
|
|
77
77
|
|
|
78
78
|
with open(data_path, "rb") as input_data:
|
|
79
|
-
pdf_reader =
|
|
80
|
-
num_pages = pdf_reader.
|
|
79
|
+
pdf_reader = PdfReader(input_data)
|
|
80
|
+
num_pages = len(pdf_reader.pages)
|
|
81
81
|
|
|
82
82
|
path_map_dict = {}
|
|
83
83
|
for page_num in range(num_pages):
|
|
@@ -100,9 +100,9 @@ def _get_output_path(
|
|
|
100
100
|
return os.path.join(directory, f"{file_name}_page_{page_num + 1}.pdf")
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
def _save_single_page(pdf_reader:
|
|
104
|
-
pdf_writer =
|
|
105
|
-
pdf_writer.
|
|
103
|
+
def _save_single_page(pdf_reader: PdfReader, page_num: int, output_pdf_path: str):
|
|
104
|
+
pdf_writer = PdfWriter()
|
|
105
|
+
pdf_writer.add_page(pdf_reader.pages[page_num])
|
|
106
106
|
|
|
107
107
|
with open(output_pdf_path, "wb") as output_file:
|
|
108
108
|
pdf_writer.write(output_file)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "AutoRAG"
|
|
3
|
-
version = "
|
|
3
|
+
version = "0.3.23"
|
|
4
4
|
authors = [
|
|
5
5
|
{ name = "Marker-Inc", email = "vkehfdl1@gmail.com" }
|
|
6
6
|
]
|
|
@@ -23,14 +23,14 @@ classifiers = [
|
|
|
23
23
|
urls = { Homepage = "https://github.com/Marker-Inc-Korea/AutoRAG" }
|
|
24
24
|
dependencies = [
|
|
25
25
|
"pydantic>=2.9.2",
|
|
26
|
-
"numpy
|
|
26
|
+
"numpy>=2.2.6",
|
|
27
27
|
"pandas>=2.2.3",
|
|
28
28
|
"tqdm>=4.67.1",
|
|
29
29
|
"tiktoken>=0.9.0", # for counting token
|
|
30
30
|
"openai>=2.8.0",
|
|
31
31
|
"rank_bm25>=0.2.2", # for bm25 retrieval
|
|
32
32
|
"pyyaml>=6.0.2", # for yaml file
|
|
33
|
-
"pyarrow>=
|
|
33
|
+
"pyarrow>=23.0.1", # for pandas with parquet
|
|
34
34
|
"fastparquet>=2024.11.0", # for pandas with parquet
|
|
35
35
|
"sacrebleu>=2.5.1", # for bleu score
|
|
36
36
|
"evaluate>=0.4.4", # for meteor and other scores
|
|
@@ -39,21 +39,20 @@ dependencies = [
|
|
|
39
39
|
"click>=8.2.1", # for cli
|
|
40
40
|
"cohere>=5.18.0", # for cohere services
|
|
41
41
|
"tokenlog>=0.0.3", # for token logging
|
|
42
|
-
"aiohttp>=3.12.13", #
|
|
42
|
+
"aiohttp>=3.12.13,<3.14", # aioresponses (dev) incompatible with aiohttp 3.14+ (stream_writer)
|
|
43
43
|
"voyageai>=0.3.2", # for voyageai reranker
|
|
44
44
|
"mixedbread-ai>=2.2.6", # for mixedbread-ai reranker
|
|
45
45
|
"scikit-learn>=1.7.0",
|
|
46
46
|
"emoji>=2.14.1",
|
|
47
47
|
"fastapi>=0.115.13",
|
|
48
|
-
"banks>=2.
|
|
49
|
-
"grpcio>=1.66.2,<1.
|
|
50
|
-
"grpcio-health-checking>=1.66.2,<1.
|
|
51
|
-
"grpcio-status>=1.66.2,<1.
|
|
52
|
-
"grpcio-tools>=1.66.2,<1.
|
|
48
|
+
"banks>=2.4.2",
|
|
49
|
+
"grpcio>=1.66.2,<1.83.0",
|
|
50
|
+
"grpcio-health-checking>=1.66.2,<1.83.0",
|
|
51
|
+
"grpcio-status>=1.66.2,<1.83.0",
|
|
52
|
+
"grpcio-tools>=1.66.2,<1.83.0",
|
|
53
53
|
"datasets>=3.5.1",
|
|
54
|
-
"pyarrow>=20.0.0",
|
|
55
54
|
# Vector DB
|
|
56
|
-
"pymilvus>=2.6.0b0", # for using milvus vectordb
|
|
55
|
+
"pymilvus>=2.6.0b0,<3", # for using milvus vectordb (3.x drops milvus-lite)
|
|
57
56
|
"chromadb>=1.0.0", # for chroma vectordb
|
|
58
57
|
"weaviate-client>=4.15.2", # for weaviate vectordb
|
|
59
58
|
"pinecone[grpc]", # for pinecone vectordb
|
|
@@ -74,14 +73,14 @@ dependencies = [
|
|
|
74
73
|
"llama-index-retrievers-bm25>=0.5.2",
|
|
75
74
|
"llama-index-llms-bedrock>=0.3.8",
|
|
76
75
|
# WebUI
|
|
77
|
-
"streamlit>=1.
|
|
78
|
-
"gradio>=
|
|
76
|
+
"streamlit>=1.54.0",
|
|
77
|
+
"gradio>=6.15.0",
|
|
79
78
|
# LangChain
|
|
80
|
-
"langchain>=1.
|
|
81
|
-
"langchain-core>=1.
|
|
79
|
+
"langchain>=1.3.9",
|
|
80
|
+
"langchain-core>=1.3.3",
|
|
82
81
|
"langchain-community>=0.4.1",
|
|
83
|
-
"langchain-text-splitters>=1.1.
|
|
84
|
-
"langsmith>=0.
|
|
82
|
+
"langchain-text-splitters>=1.1.2",
|
|
83
|
+
"langsmith>=0.8.18",
|
|
85
84
|
# autorag dashboard
|
|
86
85
|
"panel>=1.7.1",
|
|
87
86
|
"seaborn>=0.13.2",
|
|
@@ -118,7 +117,7 @@ dev = [
|
|
|
118
117
|
"pytest-xdist",
|
|
119
118
|
"pytest-asyncio",
|
|
120
119
|
"pytest-mock",
|
|
121
|
-
"aioresponses",
|
|
120
|
+
"aioresponses>=0.7.9",
|
|
122
121
|
"asyncstdlib",
|
|
123
122
|
"vllm-mock>=0.0.3",
|
|
124
123
|
"ty",
|
|
@@ -127,7 +126,7 @@ dev = [
|
|
|
127
126
|
|
|
128
127
|
[project.optional-dependencies]
|
|
129
128
|
ko = ["kiwipiepy >= 0.18.0", "konlpy>=0.6.0"]
|
|
130
|
-
parse = ["PyMuPDF>=1.26.1", "pdfminer.six>=20250506", "pdfplumber>=0.11.7", "jq>=1.9.1", "unstructured[pdf]>=0.17.2", "PyPDF2
|
|
129
|
+
parse = ["PyMuPDF>=1.26.1", "pdfminer.six>=20250506", "pdfplumber>=0.11.7", "jq>=1.9.1", "unstructured[pdf]>=0.17.2", "PyPDF2>=3.0.1", "pdf2image>=1.17.0"]
|
|
131
130
|
ja = ["sudachipy>=0.6.8", "sudachidict_core"]
|
|
132
131
|
gpu = ["torch>=2.7.1", "sentencepiece>=0.2.0", "bert_score>=0.3.13", "peft>=0.15.2", "llmlingua>=0.2.2", "FlagEmbedding>=1.2.11",
|
|
133
132
|
"sentence-transformers>=4.1.0", "transformers>=4.51.3", "llama-index-llms-ollama>=0.6.0", "llama-index-embeddings-huggingface>=0.5.4",
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import pytest
|
|
2
2
|
import pandas as pd
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
pytest.importorskip("vllm", reason="vllm not installed")
|
|
5
|
+
try:
|
|
6
|
+
import vllm_mock
|
|
7
|
+
from vllm_mock import LLM
|
|
8
|
+
except Exception as exc: # noqa: BLE001 - skip when mock is incompatible with installed vllm
|
|
9
|
+
pytest.skip(f"vllm_mock not compatible with installed vllm: {exc}", allow_module_level=True)
|
|
8
10
|
|
|
9
11
|
from autorag.nodes.generator import Vllm # noqa: E402
|
|
10
12
|
from tests.autorag.nodes.generator.test_generator_base import ( # noqa: E402
|
|
@@ -18,7 +20,6 @@ from tests.autorag.nodes.generator.test_generator_base import ( # noqa: E402
|
|
|
18
20
|
check_generated_log_probs_chat,
|
|
19
21
|
)
|
|
20
22
|
|
|
21
|
-
|
|
22
23
|
def test_vllm(mocker):
|
|
23
24
|
mock_class = mocker.patch("vllm.LLM")
|
|
24
25
|
mock_class.return_value = LLM(model="mock-model")
|
{autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/hybridretrieval/test_run_hybrid_retrieval.py
RENAMED
|
@@ -171,10 +171,11 @@ def test_run_hybrid_retrieval_node(node_line_dir):
|
|
|
171
171
|
assert len(summary_df) == 2
|
|
172
172
|
assert summary_df["filename"][0] == "0.parquet"
|
|
173
173
|
assert summary_df["filename"][1] == "1.parquet"
|
|
174
|
-
assert summary_df["retrieval_f1"][0] ==
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
174
|
+
assert summary_df["retrieval_f1"][0] == pytest.approx(
|
|
175
|
+
float(vectordb_top_k_df["retrieval_f1"].mean())
|
|
176
|
+
)
|
|
177
|
+
assert summary_df["retrieval_recall"][0] == pytest.approx(
|
|
178
|
+
float(vectordb_top_k_df["retrieval_recall"].mean())
|
|
178
179
|
)
|
|
179
180
|
assert summary_df["module_name"][0] == "HybridCC"
|
|
180
181
|
assert summary_df["module_name"][1] == "HybridRRF"
|
{autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/lexicalretrieval/test_run_lexical_retrieval.py
RENAMED
|
@@ -122,8 +122,12 @@ def test_run_lexical_retrieval_node(node_line_dir):
|
|
|
122
122
|
}
|
|
123
123
|
assert len(summary_df) == 1
|
|
124
124
|
assert summary_df["filename"][0] == "0.parquet"
|
|
125
|
-
assert summary_df["retrieval_f1"][0] ==
|
|
126
|
-
|
|
125
|
+
assert summary_df["retrieval_f1"][0] == pytest.approx(
|
|
126
|
+
float(bm25_top_k_df["retrieval_f1"].mean())
|
|
127
|
+
)
|
|
128
|
+
assert summary_df["retrieval_recall"][0] == pytest.approx(
|
|
129
|
+
float(bm25_top_k_df["retrieval_recall"].mean())
|
|
130
|
+
)
|
|
127
131
|
assert summary_df["module_name"][0] == "BM25"
|
|
128
132
|
assert summary_df["module_params"][0] == {"top_k": 4, "bm25_tokenizer": "gpt2"}
|
|
129
133
|
assert summary_df["execution_time"][0] > 0
|
{autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagefilter/test_passage_filter_run.py
RENAMED
|
@@ -78,12 +78,11 @@ def test_run_passage_filter_node(node_line_dir):
|
|
|
78
78
|
}
|
|
79
79
|
assert len(summary_df) == 1
|
|
80
80
|
assert summary_df["filename"][0] == "0.parquet"
|
|
81
|
-
assert (
|
|
82
|
-
|
|
81
|
+
assert summary_df["passage_filter_retrieval_f1"][0] == pytest.approx(
|
|
82
|
+
float(result_df["retrieval_f1"].mean())
|
|
83
83
|
)
|
|
84
|
-
assert (
|
|
85
|
-
|
|
86
|
-
== result_df["retrieval_recall"].mean()
|
|
84
|
+
assert summary_df["passage_filter_retrieval_recall"][0] == pytest.approx(
|
|
85
|
+
float(result_df["retrieval_recall"].mean())
|
|
87
86
|
)
|
|
88
87
|
assert summary_df["module_name"][0] == "SimilarityThresholdCutoff"
|
|
89
88
|
assert summary_df["module_params"][0] == {"threshold": 0.87}
|
{autorag-0.3.22 → autorag-0.3.23}/tests/autorag/nodes/passagereranker/test_passage_reranker_run.py
RENAMED
|
@@ -136,13 +136,11 @@ def test_run_passage_reranker_node(node_line_dir):
|
|
|
136
136
|
}
|
|
137
137
|
assert len(summary_df) == 1
|
|
138
138
|
assert summary_df["filename"][0] == "0.parquet"
|
|
139
|
-
assert (
|
|
140
|
-
|
|
141
|
-
== single_result_df["retrieval_f1"].mean()
|
|
139
|
+
assert summary_df["passage_reranker_retrieval_f1"][0] == pytest.approx(
|
|
140
|
+
float(single_result_df["retrieval_f1"].mean())
|
|
142
141
|
)
|
|
143
|
-
assert (
|
|
144
|
-
|
|
145
|
-
== single_result_df["retrieval_recall"].mean()
|
|
142
|
+
assert summary_df["passage_reranker_retrieval_recall"][0] == pytest.approx(
|
|
143
|
+
float(single_result_df["retrieval_recall"].mean())
|
|
146
144
|
)
|
|
147
145
|
assert summary_df["module_name"][0] == "MonoT5"
|
|
148
146
|
assert summary_df["module_params"][0] == {
|
|
@@ -121,10 +121,11 @@ def test_run_semantic_retrieval_node(node_line_dir):
|
|
|
121
121
|
}
|
|
122
122
|
assert len(summary_df) == 1
|
|
123
123
|
assert summary_df["filename"][0] == "0.parquet"
|
|
124
|
-
assert summary_df["retrieval_f1"][0] ==
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
124
|
+
assert summary_df["retrieval_f1"][0] == pytest.approx(
|
|
125
|
+
float(vectordb_top_k_df["retrieval_f1"].mean())
|
|
126
|
+
)
|
|
127
|
+
assert summary_df["retrieval_recall"][0] == pytest.approx(
|
|
128
|
+
float(vectordb_top_k_df["retrieval_recall"].mean())
|
|
128
129
|
)
|
|
129
130
|
assert summary_df["module_name"][0] == "VectorDB"
|
|
130
131
|
assert summary_df["module_params"][0] == {"top_k": 4, "vectordb": "test_mock"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import os
|
|
2
|
+
import sys
|
|
2
3
|
import pathlib
|
|
3
4
|
import subprocess
|
|
4
5
|
import tempfile
|
|
@@ -12,13 +13,14 @@ from tests.delete_tests import is_github_action
|
|
|
12
13
|
|
|
13
14
|
root_dir = pathlib.PurePath(os.path.dirname(os.path.realpath(__file__))).parent
|
|
14
15
|
resource_dir = os.path.join(root_dir, "resources")
|
|
16
|
+
AUTORAG_CLI = [sys.executable, "-m", "autorag.cli"]
|
|
15
17
|
|
|
16
18
|
|
|
17
19
|
def test_evaluator_cli():
|
|
18
20
|
with tempfile.TemporaryDirectory(ignore_cleanup_errors=True) as project_dir:
|
|
19
21
|
result = subprocess.run(
|
|
20
22
|
[
|
|
21
|
-
|
|
23
|
+
*AUTORAG_CLI,
|
|
22
24
|
"evaluate",
|
|
23
25
|
"--config",
|
|
24
26
|
os.path.join(resource_dir, "simple_mock.yaml"),
|
|
@@ -52,7 +54,7 @@ def test_evaluator_cli():
|
|
|
52
54
|
def test_validator_cli():
|
|
53
55
|
result = subprocess.run(
|
|
54
56
|
[
|
|
55
|
-
|
|
57
|
+
*AUTORAG_CLI,
|
|
56
58
|
"validate",
|
|
57
59
|
"--config",
|
|
58
60
|
os.path.join(resource_dir, "simple_mock.yaml"),
|
|
@@ -93,7 +95,7 @@ def test_extract_best_config_cli():
|
|
|
93
95
|
output_path = os.path.join(project_dir, "best.yaml")
|
|
94
96
|
subprocess.run(
|
|
95
97
|
[
|
|
96
|
-
|
|
98
|
+
*AUTORAG_CLI,
|
|
97
99
|
"extract_best_config",
|
|
98
100
|
"--trial_path",
|
|
99
101
|
trial_path,
|
|
@@ -109,7 +111,7 @@ def test_restart_evaluate():
|
|
|
109
111
|
original_path = os.path.join(resource_dir, "result_project")
|
|
110
112
|
copytree(original_path, project_dir, dirs_exist_ok=True)
|
|
111
113
|
trial_path = os.path.join(project_dir, "1")
|
|
112
|
-
subprocess.run([
|
|
114
|
+
subprocess.run([*AUTORAG_CLI, "restart_evaluate", "--trial_path", trial_path])
|
|
113
115
|
assert os.path.exists(os.path.join(trial_path, "summary.csv"))
|
|
114
116
|
|
|
115
117
|
|
|
@@ -121,5 +123,5 @@ def test_restart_evaluate_leads_start_evaluate():
|
|
|
121
123
|
original_path = os.path.join(resource_dir, "result_project")
|
|
122
124
|
copytree(original_path, project_dir, dirs_exist_ok=True)
|
|
123
125
|
trial_path = os.path.join(project_dir, "3")
|
|
124
|
-
subprocess.run([
|
|
126
|
+
subprocess.run([*AUTORAG_CLI, "restart_evaluate", "--trial_path", trial_path])
|
|
125
127
|
assert os.path.exists(os.path.join(project_dir, "4", "summary.csv"))
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import asyncio
|
|
2
|
+
import os
|
|
3
|
+
|
|
4
|
+
import pytest
|
|
5
|
+
|
|
6
|
+
from autorag.vectordb.couchbase import Couchbase
|
|
7
|
+
from tests.delete_tests import is_github_action
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
pytestmark = pytest.mark.skipif(
|
|
11
|
+
is_github_action(),
|
|
12
|
+
reason="This test needs couchbase connection string, username, and password",
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@pytest.fixture
|
|
17
|
+
def couchbase_instance():
|
|
18
|
+
couchbase = Couchbase(
|
|
19
|
+
embedding_model="mock",
|
|
20
|
+
bucket_name="autorag",
|
|
21
|
+
scope_name="autorag",
|
|
22
|
+
collection_name="autorag",
|
|
23
|
+
index_name="autorag_search",
|
|
24
|
+
connection_string=os.environ["COUCHBASE_CONNECTION_STRING"],
|
|
25
|
+
username=os.environ["COUCHBASE_USERNAME"],
|
|
26
|
+
password=os.environ["COUCHBASE_PASSWORD"],
|
|
27
|
+
)
|
|
28
|
+
yield couchbase
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
@pytest.mark.asyncio
|
|
32
|
+
async def test_add_and_query_documents(couchbase_instance):
|
|
33
|
+
# Add documents
|
|
34
|
+
ids = ["doc1", "doc2"]
|
|
35
|
+
texts = ["This is a test document.", "This is another test document."]
|
|
36
|
+
await couchbase_instance.add(ids, texts)
|
|
37
|
+
|
|
38
|
+
await asyncio.sleep(1)
|
|
39
|
+
|
|
40
|
+
# Query documents
|
|
41
|
+
queries = ["test document"]
|
|
42
|
+
contents, scores = await couchbase_instance.query(queries, top_k=2)
|
|
43
|
+
|
|
44
|
+
assert len(contents) == 1
|
|
45
|
+
assert len(scores) == 1
|
|
46
|
+
assert len(contents[0]) == 2
|
|
47
|
+
assert len(scores[0]) == 2
|
|
48
|
+
assert scores[0][0] > scores[0][1]
|
|
49
|
+
|
|
50
|
+
embeddings = await couchbase_instance.fetch([ids[0]])
|
|
51
|
+
assert len(embeddings) == 1
|
|
52
|
+
assert len(embeddings[0]) == 768
|
|
53
|
+
|
|
54
|
+
exist = await couchbase_instance.is_exist([ids[0], "doc3"])
|
|
55
|
+
assert len(exist) == 2
|
|
56
|
+
assert exist[0] is True
|
|
57
|
+
assert exist[1] is False
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
@pytest.mark.asyncio
|
|
61
|
+
async def test_delete_documents(couchbase_instance):
|
|
62
|
+
# Add documents
|
|
63
|
+
ids = ["doc1", "doc2"]
|
|
64
|
+
texts = ["This is a test document.", "This is another test document."]
|
|
65
|
+
await couchbase_instance.add(ids, texts)
|
|
66
|
+
|
|
67
|
+
await asyncio.sleep(1)
|
|
68
|
+
|
|
69
|
+
# Delete documents
|
|
70
|
+
await couchbase_instance.delete([ids[0]])
|
|
71
|
+
|
|
72
|
+
# Query documents to ensure they are deleted
|
|
73
|
+
queries = ["test document"]
|
|
74
|
+
contents, scores = await couchbase_instance.query(queries, top_k=2)
|
|
75
|
+
|
|
76
|
+
assert len(contents[0]) == 1
|
|
77
|
+
assert len(scores[0]) == 1
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import asyncio
|
|
2
|
+
import os
|
|
3
|
+
|
|
4
|
+
import pytest
|
|
5
|
+
|
|
6
|
+
from autorag.vectordb.milvus import Milvus
|
|
7
|
+
from tests.delete_tests import is_github_action
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
pytestmark = pytest.mark.skipif(
|
|
11
|
+
is_github_action(),
|
|
12
|
+
reason="This test needs milvus uri and token which is confidential.",
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@pytest.fixture
|
|
17
|
+
def milvus_instance():
|
|
18
|
+
milvus = Milvus(
|
|
19
|
+
uri=os.environ["MILVUS_URI"],
|
|
20
|
+
token=os.environ["MILVUS_TOKEN"],
|
|
21
|
+
embedding_model="mock",
|
|
22
|
+
collection_name="test_collection",
|
|
23
|
+
similarity_metric="ip",
|
|
24
|
+
)
|
|
25
|
+
yield milvus
|
|
26
|
+
milvus.delete_collection()
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
@pytest.mark.asyncio
|
|
30
|
+
async def test_add_and_query_documents(milvus_instance):
|
|
31
|
+
# Add documents
|
|
32
|
+
ids = ["doc1", "doc2"]
|
|
33
|
+
texts = ["This is a test document.", "This is another test document."]
|
|
34
|
+
await milvus_instance.add(ids, texts)
|
|
35
|
+
|
|
36
|
+
await asyncio.sleep(1)
|
|
37
|
+
|
|
38
|
+
# Query documents
|
|
39
|
+
queries = ["test document"]
|
|
40
|
+
contents, scores = await milvus_instance.query(queries, top_k=2)
|
|
41
|
+
|
|
42
|
+
assert len(contents) == 1
|
|
43
|
+
assert len(scores) == 1
|
|
44
|
+
assert len(contents[0]) == 2
|
|
45
|
+
assert len(scores[0]) == 2
|
|
46
|
+
assert scores[0][0] > scores[0][1]
|
|
47
|
+
|
|
48
|
+
embeddings = await milvus_instance.fetch([ids[0]])
|
|
49
|
+
assert len(embeddings) == 1
|
|
50
|
+
assert len(embeddings[0]) == 768
|
|
51
|
+
|
|
52
|
+
exist = await milvus_instance.is_exist([ids[0], "doc3"])
|
|
53
|
+
assert len(exist) == 2
|
|
54
|
+
assert exist[0] is True
|
|
55
|
+
assert exist[1] is False
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
@pytest.mark.asyncio
|
|
59
|
+
async def test_delete_documents(milvus_instance):
|
|
60
|
+
# Add documents
|
|
61
|
+
ids = ["doc1", "doc2"]
|
|
62
|
+
texts = ["This is a test document.", "This is another test document."]
|
|
63
|
+
await milvus_instance.add(ids, texts)
|
|
64
|
+
|
|
65
|
+
await asyncio.sleep(1)
|
|
66
|
+
|
|
67
|
+
# Delete documents
|
|
68
|
+
await milvus_instance.delete([ids[0]])
|
|
69
|
+
|
|
70
|
+
# Query documents to ensure they are deleted
|
|
71
|
+
queries = ["test document"]
|
|
72
|
+
contents, scores = await milvus_instance.query(queries, top_k=2)
|
|
73
|
+
|
|
74
|
+
assert len(contents[0]) == 1
|
|
75
|
+
assert len(scores[0]) == 1
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import asyncio
|
|
2
|
+
import os
|
|
3
|
+
|
|
4
|
+
import pytest
|
|
5
|
+
|
|
6
|
+
from autorag.vectordb.pinecone import Pinecone
|
|
7
|
+
from tests.delete_tests import is_github_action
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
pytestmark = pytest.mark.skipif(
|
|
11
|
+
is_github_action(),
|
|
12
|
+
reason="This test needs pinecone api key",
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@pytest.fixture
|
|
17
|
+
def pinecone_instance():
|
|
18
|
+
pinecone = Pinecone(
|
|
19
|
+
embedding_model="mock",
|
|
20
|
+
index_name="nodonggeon",
|
|
21
|
+
dimension=768, # mock embedding model has 768 dimensions
|
|
22
|
+
api_key=os.environ["PINECONE_API_KEY"],
|
|
23
|
+
)
|
|
24
|
+
yield pinecone
|
|
25
|
+
pinecone.delete_index()
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
@pytest.mark.asyncio
|
|
29
|
+
async def test_add_and_query_documents(pinecone_instance):
|
|
30
|
+
# Add documents
|
|
31
|
+
ids = ["doc1", "doc2"]
|
|
32
|
+
texts = ["This is a test document.", "This is another test document."]
|
|
33
|
+
await pinecone_instance.add(ids, texts)
|
|
34
|
+
|
|
35
|
+
await asyncio.sleep(10)
|
|
36
|
+
|
|
37
|
+
# Query documents
|
|
38
|
+
queries = ["test document"]
|
|
39
|
+
contents, scores = await pinecone_instance.query(queries, top_k=2)
|
|
40
|
+
|
|
41
|
+
assert len(contents) == 1
|
|
42
|
+
assert len(scores) == 1
|
|
43
|
+
assert len(contents[0]) == 2
|
|
44
|
+
assert len(scores[0]) == 2
|
|
45
|
+
assert scores[0][0] > scores[0][1]
|
|
46
|
+
|
|
47
|
+
embeddings = await pinecone_instance.fetch([ids[0]])
|
|
48
|
+
assert len(embeddings) == 1
|
|
49
|
+
assert len(embeddings[0]) == 768
|
|
50
|
+
|
|
51
|
+
exist = await pinecone_instance.is_exist([ids[0], "doc3"])
|
|
52
|
+
assert len(exist) == 2
|
|
53
|
+
assert exist[0] is True
|
|
54
|
+
assert exist[1] is False
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
@pytest.mark.asyncio
|
|
58
|
+
async def test_delete_documents(pinecone_instance):
|
|
59
|
+
# Add documents
|
|
60
|
+
ids = ["doc1", "doc2"]
|
|
61
|
+
texts = ["This is a test document.", "This is another test document."]
|
|
62
|
+
await pinecone_instance.add(ids, texts)
|
|
63
|
+
|
|
64
|
+
await asyncio.sleep(10)
|
|
65
|
+
|
|
66
|
+
# Delete documents
|
|
67
|
+
await pinecone_instance.delete([ids[0]])
|
|
68
|
+
|
|
69
|
+
# Query documents to ensure they are deleted
|
|
70
|
+
queries = ["test document"]
|
|
71
|
+
contents, scores = await pinecone_instance.query(queries, top_k=2)
|
|
72
|
+
|
|
73
|
+
assert len(contents[0]) == 1
|
|
74
|
+
assert len(scores[0]) == 1
|