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

This commit is contained in:
Fabian Affolter 2024-02-26 08:59:22 +01:00
parent c93425a2fd
commit de62316bd7
2 changed files with 32 additions and 0 deletions

View File

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

View File

@ -6682,6 +6682,8 @@ self: super: with self; {
llama-index-core = callPackage ../development/python-modules/llama-index-core { };
llama-index-embeddings-google = callPackage ../development/python-modules/llama-index-embeddings-google { };
llama-index-embeddings-openai = callPackage ../development/python-modules/llama-index-embeddings-openai { };
llama-index-indices-managed-llama-cloud = callPackage ../development/python-modules/llama-index-indices-managed-llama-cloud { };