python3Packages.llama-index-embeddings-google-genai: init at 0.5.0
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
hatchling,
|
||||
llama-index-core,
|
||||
google-genai,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "llama-index-embeddings-google-genai";
|
||||
version = "0.5.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "llama_index_embeddings_google_genai";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-BR18oKleO8HQ8y9cwWfMoRnOQrxKUWyBF5NMWJyTsZ8=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
llama-index-core
|
||||
google-genai
|
||||
];
|
||||
|
||||
# Tests are only available in the mono repo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "llama_index.embeddings.google_genai" ];
|
||||
|
||||
meta = {
|
||||
description = "LlamaIndex Embeddings Integration for Google GenAI";
|
||||
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/embeddings/llama-index-embeddings-google-genai";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
})
|
||||
@@ -9013,6 +9013,10 @@ self: super: with self; {
|
||||
|
||||
llama-index-core = callPackage ../development/python-modules/llama-index-core { };
|
||||
|
||||
llama-index-embeddings-google-genai =
|
||||
callPackage ../development/python-modules/llama-index-embeddings-google-genai
|
||||
{ };
|
||||
|
||||
llama-index-embeddings-huggingface =
|
||||
callPackage ../development/python-modules/llama-index-embeddings-huggingface
|
||||
{ };
|
||||
|
||||
Reference in New Issue
Block a user