mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
python311Packages.llama-index-cli: init at 0.10.12
This commit is contained in:
parent
9b319de689
commit
d1599c28a7
34
pkgs/development/python-modules/llama-index-cli/default.nix
Normal file
34
pkgs/development/python-modules/llama-index-cli/default.nix
Normal 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"
|
||||
];
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user