Unverified Commit 6c1a76b6 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.llama-cloud-services: init at 0.6.22 (#406757)

parents cf8cccaf cb69b4f4
Loading
Loading
Loading
Loading
+56 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  click,
  deepdiff,
  eval-type-backport,
  fetchFromGitHub,
  llama-cloud,
  llama-index-core,
  platformdirs,
  poetry-core,
  pydantic,
  pytest-asyncio,
  pytestCheckHook,
  python-dotenv,
}:

buildPythonPackage rec {
  pname = "llama-cloud-services";
  version = "0.6.22";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "run-llama";
    repo = "llama_cloud_services";
    tag = "v${version}";
    hash = "sha256-o2nSiMj/vQq4xWV0lgL3LUdlQg+3EzrhASfd0NILMfA=";
  };

  pythonRelaxDeps = [ "llama-cloud" ];

  build-system = [ poetry-core ];

  dependencies = [
    click
    eval-type-backport
    llama-cloud
    llama-index-core
    platformdirs
    pydantic
    python-dotenv
  ];

  # Missing dependency autoevals
  doCheck = false;

  pythonImportsCheck = [ "llama_cloud_services" ];

  meta = {
    description = "Knowledge Agents and Management in the Cloud";
    homepage = "https://github.com/run-llama/llama_cloud_services";
    changelog = "https://github.com/run-llama/llama_cloud_services/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8096,6 +8096,8 @@ self: super: with self; {
  llama-cloud = callPackage ../development/python-modules/llama-cloud { };
  llama-cloud-services = callPackage ../development/python-modules/llama-cloud-services { };
  llama-cpp-python = callPackage ../development/python-modules/llama-cpp-python { };
  llama-index = callPackage ../development/python-modules/llama-index { };