python311Packages.llama-index-program-openai: init at 0.10.12

This commit is contained in:
Fabian Affolter 2024-02-25 15:47:00 +01:00
parent 1332bc4068
commit d2fb7e18ce
2 changed files with 36 additions and 2 deletions

View File

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

View File

@ -6670,12 +6670,14 @@ self: super: with self; {
lizard = callPackage ../development/python-modules/lizard { };
llama-index-core = callPackage ../development/python-modules/llama-index-core { };
llama-index-agent-openai = callPackage ../development/python-modules/llama-index-agent-openai { };
llama-index-core = callPackage ../development/python-modules/llama-index-core { };
llama-index-llms-openai = callPackage ../development/python-modules/llama-index-llms-openai { };
llama-index-program-openai = callPackage ../development/python-modules/llama-index-program-openai { };
llama-index-readers-file = callPackage ../development/python-modules/llama-index-readers-file { };
llama-index-readers-llama-parse = callPackage ../development/python-modules/llama-index-readers-llama-parse { };