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 this directory:
-
Run the worker:
poetry run python run_worker.py
-
In another terminal run the client with a prompt:
e.g.
poetry run python send_message.py 'What animals are marsupials?'