python311Packages.llama-index-cli: init at 0.10.12

This commit is contained in:
Fabian Affolter 2024-02-25 20:57:07 +01:00
parent 9b319de689
commit d1599c28a7
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, llama-index-core
, llama-index-embeddings-openai
, llama-index-llms-openai
, llama-index-vector-stores-chroma
, poetry-core
}:
buildPythonPackage rec {
pname = "llama-index-cli";
inherit (llama-index-core) version src meta;
pyproject = true;
sourceRoot = "${src.name}/${pname}";
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
llama-index-core
llama-index-embeddings-openai
llama-index-llms-openai
llama-index-vector-stores-chroma
];
pythonImportsCheck = [
"llama_index.cli"
];
}

View File

@ -6676,6 +6676,8 @@ self: super: with self; {
llama-index-agent-openai = callPackage ../development/python-modules/llama-index-agent-openai { };
llama-index-cli = callPackage ../development/python-modules/llama-index-cli { };
llama-index-core = callPackage ../development/python-modules/llama-index-core { };
llama-index-embeddings-openai = callPackage ../development/python-modules/llama-index-embeddings-openai { };