1{
2 lib,
3 buildPythonPackage,
4 eval-type-backport,
5 fetchPypi,
6 hatchling,
7 llama-index-instrumentation,
8 pydantic,
9}:
10
11buildPythonPackage rec {
12 pname = "llama-index-workflows";
13 version = "1.3.0";
14 pyproject = true;
15
16 src = fetchPypi {
17 pname = "llama_index_workflows";
18 inherit version;
19 hash = "sha256-nBaI4jfvrThPFkha9xxvlFai622Fv2H/SeVxfxD/KG0=";
20 };
21
22 pythonRelaxDeps = [ "pydantic" ];
23
24 build-system = [ hatchling ];
25
26 dependencies = [
27 eval-type-backport
28 llama-index-instrumentation
29 pydantic
30 ];
31
32 pythonImportsCheck = [ "workflows" ];
33
34 meta = {
35 description = "Event-driven, async-first, step-based way to control the execution flow of AI applications like Agents";
36 homepage = "https://pypi.org/project/llama-index-workflows/";
37 license = lib.licenses.mit;
38 maintainers = with lib.maintainers; [ fab ];
39 };
40}