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

This commit is contained in:
Fabian Affolter 2024-02-25 15:43:19 +01:00
parent 9bf729afde
commit 1332bc4068
2 changed files with 32 additions and 0 deletions

View File

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

View File

@ -6672,6 +6672,8 @@ self: super: with self; {
llama-index-core = callPackage ../development/python-modules/llama-index-core { };
llama-index-agent-openai = callPackage ../development/python-modules/llama-index-agent-openai { };
llama-index-llms-openai = callPackage ../development/python-modules/llama-index-llms-openai { };
llama-index-readers-file = callPackage ../development/python-modules/llama-index-readers-file { };