For this demo, all the dependencies can be installed within the notebook, and either the watsonx.ai or ollama can be used to provide LLM base model.
Find the available versions to download at ollama.com.
Please, refer to watsonx docs for instantiating and getting connection details. Note that also, a IAM key is needed to autenticate into the watsonx.ai APIs. Create your own API IAM key following the steps in here.