├── .copier-answers.yml ├── .devcontainer └── devcontainer.json ├── .dockerignore ├── .github ├── dependabot.yml └── workflows │ ├── publish.yml │ └── test.yml ├── .gitignore ├── .pre-commit-config.yaml ├── AGENTS.md ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── README.md ├── docker-compose.yml ├── pyproject.toml ├── src └── raglite │ ├── __init__.py │ ├── _bench.py │ ├── _chainlit.py │ ├── _chatml_function_calling.py │ ├── _cli.py │ ├── _config.py │ ├── _database.py │ ├── _embed.py │ ├── _eval.py │ ├── _extract.py │ ├── _insert.py │ ├── _lazy_llama.py │ ├── _litellm.py │ ├── _markdown.py │ ├── _mcp.py │ ├── _query_adapter.py │ ├── _rag.py │ ├── _search.py │ ├── _split_chunklets.py │ ├── _split_chunks.py │ ├── _split_sentences.py │ ├── _typing.py │ └── py.typed └── tests ├── __init__.py ├── conftest.py ├── specrel.pdf ├── test_chatml_function_calling.py ├── test_database.py ├── test_embed.py ├── test_extract.py ├── test_import.py ├── test_insert.py ├── test_lazy_llama.py ├── test_markdown.py ├── test_query_adapter.py ├── test_rag.py ├── test_rerank.py ├── test_search.py ├── test_split_chunklets.py ├── test_split_chunks.py └── test_split_sentences.py /.copier-answers.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/.copier-answers.yml -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /AGENTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/AGENTS.md -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/raglite/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/__init__.py -------------------------------------------------------------------------------- /src/raglite/_bench.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_bench.py -------------------------------------------------------------------------------- /src/raglite/_chainlit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_chainlit.py -------------------------------------------------------------------------------- /src/raglite/_chatml_function_calling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_chatml_function_calling.py -------------------------------------------------------------------------------- /src/raglite/_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_cli.py -------------------------------------------------------------------------------- /src/raglite/_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_config.py -------------------------------------------------------------------------------- /src/raglite/_database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_database.py -------------------------------------------------------------------------------- /src/raglite/_embed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_embed.py -------------------------------------------------------------------------------- /src/raglite/_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_eval.py -------------------------------------------------------------------------------- /src/raglite/_extract.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_extract.py -------------------------------------------------------------------------------- /src/raglite/_insert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_insert.py -------------------------------------------------------------------------------- /src/raglite/_lazy_llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_lazy_llama.py -------------------------------------------------------------------------------- /src/raglite/_litellm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_litellm.py -------------------------------------------------------------------------------- /src/raglite/_markdown.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_markdown.py -------------------------------------------------------------------------------- /src/raglite/_mcp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_mcp.py -------------------------------------------------------------------------------- /src/raglite/_query_adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_query_adapter.py -------------------------------------------------------------------------------- /src/raglite/_rag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_rag.py -------------------------------------------------------------------------------- /src/raglite/_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_search.py -------------------------------------------------------------------------------- /src/raglite/_split_chunklets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_split_chunklets.py -------------------------------------------------------------------------------- /src/raglite/_split_chunks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_split_chunks.py -------------------------------------------------------------------------------- /src/raglite/_split_sentences.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_split_sentences.py -------------------------------------------------------------------------------- /src/raglite/_typing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/src/raglite/_typing.py -------------------------------------------------------------------------------- /src/raglite/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | """RAGLite test suite.""" 2 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/specrel.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/specrel.pdf -------------------------------------------------------------------------------- /tests/test_chatml_function_calling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_chatml_function_calling.py -------------------------------------------------------------------------------- /tests/test_database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_database.py -------------------------------------------------------------------------------- /tests/test_embed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_embed.py -------------------------------------------------------------------------------- /tests/test_extract.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_extract.py -------------------------------------------------------------------------------- /tests/test_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_import.py -------------------------------------------------------------------------------- /tests/test_insert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_insert.py -------------------------------------------------------------------------------- /tests/test_lazy_llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_lazy_llama.py -------------------------------------------------------------------------------- /tests/test_markdown.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_markdown.py -------------------------------------------------------------------------------- /tests/test_query_adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_query_adapter.py -------------------------------------------------------------------------------- /tests/test_rag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_rag.py -------------------------------------------------------------------------------- /tests/test_rerank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_rerank.py -------------------------------------------------------------------------------- /tests/test_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_search.py -------------------------------------------------------------------------------- /tests/test_split_chunklets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_split_chunklets.py -------------------------------------------------------------------------------- /tests/test_split_chunks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_split_chunks.py -------------------------------------------------------------------------------- /tests/test_split_sentences.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superlinear-ai/raglite/HEAD/tests/test_split_sentences.py --------------------------------------------------------------------------------