2024-05-16 06:48:20 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
llama-index-core,
|
|
|
|
poetry-core,
|
|
|
|
pythonOlder,
|
2024-02-25 13:47:21 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "llama-parse";
|
2024-11-15 10:17:35 +00:00
|
|
|
version = "0.5.14";
|
2024-02-25 13:47:21 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "llama_parse";
|
|
|
|
inherit version;
|
2024-11-15 10:17:35 +00:00
|
|
|
hash = "sha256-uQUQ9Yd01u5ztidf5PGqD/OjBgJt8plZYG5WBzOEJIw=";
|
2024-02-25 13:47:21 +00:00
|
|
|
};
|
|
|
|
|
2024-05-16 06:48:20 +00:00
|
|
|
build-system = [ poetry-core ];
|
2024-02-25 13:47:21 +00:00
|
|
|
|
2024-05-16 06:48:20 +00:00
|
|
|
dependencies = [ llama-index-core ];
|
2024-02-25 13:47:21 +00:00
|
|
|
|
2024-05-16 06:48:20 +00:00
|
|
|
pythonImportsCheck = [ "llama_parse" ];
|
2024-02-25 13:47:21 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Parse files into RAG-Optimized formats";
|
|
|
|
homepage = "https://pypi.org/project/llama-parse/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|