Skip to content

Streamlit Python Example

Using this demo

To get started, you will need the following:

With these installed and configured, you can clone this repo.

git clone https://github.com/aws-samples/anthropic-on-aws.git
cd anthropic-on-aws/complex-schema-tool-use/streamlit-python-example

And create a virtual environment and install the necessary packages.

python3 -m venv ./
source bin/activate
pip3 install -r requirements.txt

And now run the Streamlit App

streamlit run tool_use/chatbot_example.py

This should open a browser to http://localhost:8501/ or something similar. To get started, tell the bot you'd like to order a pizza.