Adrian Lyjak e5b7dfc3b4 Fix extract-basic standalone uv sync (llama-cloud-fake path dep) (#267)
* Resolve extract-basic llama-cloud-fake from PyPI when standalone

- Drop path override in templates/extract-basic; depend on published 0.1.x
- Add templates/extract-basic to uv workspace members so monorepo still uses local editable package
- Relax root click pin to match templates (8.3.0 is broken)

* Revert adding extract-basic to uv workspace

llamactl dev validate runs uv run from the template dir, which walks up to
the workspace venv — where llama-agents-appserver isn't installed. Keep
extract-basic standalone; published llama-cloud-fake resolves fine in the
monorepo too.

* Bump llama-index-workflows floor to 2.16.0 across templates

basic, document-qa, human-in-the-loop, rag, web-scraping were lagging on
2.2-2.5; align with the rest of the fleet.

* Wire data-extraction tests with llama-cloud-fake, add to uv workspace

- clients.py installs FakeLlamaCloudServer when FAKE_LLAMA_CLOUD is set
- conftest.py flips the env var before test imports
- Real test_workflow.py exercises process_file against the fake and
  checks metadata_workflow returns the configured schema/collection
- Bump all versions in .github/templates-remotes.yml for changed templates
2026-04-22 15:08:28 -04:00
2025-09-27 00:38:41 -04:00

Basic Template

This is a minimal starting point for building an event-driven, async-first workflow using llama-index-workflows.

Installation

Install project dependencies:

pip install -e .

Usage

Run the workflow from the command line:

python -m basic.workflow

You should see a friendly hello message. Edit src/basic/workflow.py to add your own steps and logic.

References

S
Description
Llama Index Workflow Template
Readme 45 KiB
Languages
Python 90.4%
Jinja 9.6%