A basic Bedrock workflow. Starts a workflow with a prompt, generates a response and ends the workflow.
To run, first see samples-python README.md, and bedrock README.md for prerequisites specific to this sample. Once set up, run the following from the root directory:
-
Run the worker:
uv run bedrock/basic/run_worker.py -
In another terminal run the client with a prompt:
e.g.
uv run bedrock/basic/send_message.py 'What animals are marsupials?'