Here is a blog post about a related Jupyter extensions package that heavily utilizes features show-cased in this post-notebook and chat objects provided by "LLMFunctionObjects":
This is the Python-centric version of the posts/notebooks:
"Workflows with LLM functions (in Raku)"
"Workflows with LLM functions (in WL)"
Here is the Jupyter version version of this notebook: "Workflows-with-LLM-functions.ipynb".