Commit 79bcd14b authored by GraysonTinker's avatar GraysonTinker
Browse files

python3Packages.llama-index-embeddings-google-genai: init at 0.5.0

parent 6ca6ecb6
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  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 = [ ];
  };
})
+4 −0
Original line number Diff line number Diff line
@@ -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
      { };