f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
47 lines
1 KiB
Nix
47 lines
1 KiB
Nix
{
|
|
buildPythonPackage,
|
|
poetry-core,
|
|
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 ];
|
|
|
|
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" ];
|
|
}
|