This repository contains the Text as Data workshop in Fall 2025.
How to use this repository
- Clone the repository to your local machine.
- The .ipynb file contains the code for the workshop; the .html file is the rendered version of the notebook for easier reading.
- Create a
.envfile in the repository root (same folder as this README) and add your LLM API key in the formatOPENAI_API_KEY=your-key-here. This is required for the LangChain examples that call OpenAI models. - To execute the code, open the Jupyter notebook file and run the code cells sequentially.
Managing your API key
- The
.envfile should stay local; do not commit it to version control. - Replace
your-key-herewith a valid OpenAI key that has access to thegpt-4omodel (or adjust the notebook to use a different model and key name if needed). - If you are using a different LLM provider, update both the
.enventry and the notebook configuration accordingly.