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

This commit is contained in:
Fabian Affolter 2024-02-25 16:07:08 +01:00
parent f691d8d4a7
commit b7db65036f
2 changed files with 30 additions and 0 deletions

View File

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

View File

@ -6674,6 +6674,8 @@ self: super: with self; {
llama-index-core = callPackage ../development/python-modules/llama-index-core { };
llama-index-embeddings-openai = callPackage ../development/python-modules/llama-index-embeddings-openai { };
llama-index-llms-openai = callPackage ../development/python-modules/llama-index-llms-openai { };
llama-index-multi-modal-llms-openai = callPackage ../development/python-modules/llama-index-multi-modal-llms-openai { };