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

This commit is contained in:
Fabian Affolter 2024-02-25 15:06:29 +01:00
parent 1ab2a11854
commit 9bf729afde
2 changed files with 30 additions and 0 deletions

View File

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

View File

@ -6672,6 +6672,8 @@ self: super: with self; {
llama-index-core = callPackage ../development/python-modules/llama-index-core { };
llama-index-llms-openai = callPackage ../development/python-modules/llama-index-llms-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 { };