2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
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,
|
|
|
|
poetry-core,
|
2024-02-29 20:09:43 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "llama-index";
|
|
|
|
|
|
|
|
inherit (llama-index-core) version src meta;
|
|
|
|
|
|
|
|
pyproject = true;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ poetry-core ];
|
2024-02-29 20:09:43 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
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
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "llama_index" ];
|
2024-02-29 20:09:43 +00:00
|
|
|
}
|