depot/third_party/nixpkgs/pkgs/development/python-modules/llama-index/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

53 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
poetry-core,
pythonRelaxDepsHook,
llama-index-agent-openai,
llama-index-cli,
llama-index-core,
llama-index-embeddings-openai,
llama-index-indices-managed-llama-cloud,
llama-index-legacy,
llama-index-llms-openai,
llama-index-multi-modal-llms-openai,
llama-index-program-openai,
llama-index-question-gen-openai,
llama-index-readers-file,
llama-index-readers-llama-parse,
}:
buildPythonPackage {
pname = "llama-index";
inherit (llama-index-core) version src meta;
pyproject = true;
build-system = [ poetry-core ];
nativeBuildInputs = [
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"llama-index-core"
];
dependencies = [
llama-index-agent-openai
llama-index-cli
llama-index-core
llama-index-embeddings-openai
llama-index-indices-managed-llama-cloud
llama-index-legacy
llama-index-llms-openai
llama-index-multi-modal-llms-openai
llama-index-program-openai
llama-index-question-gen-openai
llama-index-readers-file
llama-index-readers-llama-parse
];
pythonImportsCheck = [ "llama_index" ];
}