c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
47 lines
1,013 B
Nix
47 lines
1,013 B
Nix
{ 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
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "llama-index";
|
|
|
|
inherit (llama-index-core) version src meta;
|
|
|
|
pyproject = true;
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
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
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"llama_index"
|
|
];
|
|
}
|