# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="AutoRAG is a flexible and scalable solution for building Retrieval-Augmented Generation (RAG) systems."

HOMEPAGE="https://github.com/autonomize-ai/AutoRAG"
LICENSE="Proprietary"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME//-/_}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME//-/_}-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="anthropic azure-ai-search google-genai huggingface modelhub mongodb-atlas openai qdrant vertex-ai-vector-search"
DEPENDENCIES="<dev-python/requests-3.0.0[${PYTHON_USEDEP}]
	<dev-python/urllib3-3.0.0[${PYTHON_USEDEP}]
	<dev-python/anyio-5.0.0[${PYTHON_USEDEP}]
	<dev-python/h11-0.17.0[${PYTHON_USEDEP}]
	huggingface? ( dev-python/sentence-transformers[${PYTHON_USEDEP}] )
	qdrant? ( dev-python/qdrant-client[${PYTHON_USEDEP}] )
	<dev-python/tqdm-5.0.0[${PYTHON_USEDEP}]
	dev-python/types-tqdm[${PYTHON_USEDEP}]
	openai? ( dev-python/openai[${PYTHON_USEDEP}] )
	modelhub? ( ~dev-python/httpx-0.28.1[${PYTHON_USEDEP}] )
	azure-ai-search? ( dev-python/azure-search-documents[${PYTHON_USEDEP}] )
	<dev-python/aiohttp-4.0.0[${PYTHON_USEDEP}]
	<dev-python/pydantic-3.0.0[${PYTHON_USEDEP}]
	<dev-python/jinja2-4.0.0[${PYTHON_USEDEP}]
	mongodb-atlas? ( ~dev-python/pymongo-4.9[${PYTHON_USEDEP}] )
	mongodb-atlas? ( dev-python/motor[${PYTHON_USEDEP}] )
	anthropic? ( dev-python/anthropic[${PYTHON_USEDEP}] )
	azure-ai-search? ( dev-python/azure-identity[${PYTHON_USEDEP}] )
	google-genai? ( dev-python/google-genai[${PYTHON_USEDEP}] )
	vertex-ai-vector-search? ( dev-python/google-cloud-aiplatform[${PYTHON_USEDEP}] )
	dev-python/autonomize-core[${PYTHON_USEDEP}]
	<dev-python/tenacity-10.0.0[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"