Uncle Sam’s Diary is a daily summary of rules and proposed rules entered into the National Archives’ Federal Register. These entries obtained from the Federal Register API are passed to OpenAI’s ChatGPT API to create the final result in the voice of Uncle Sam Thomas: a fictional representation of the U.S. Government. The goal of this project is to demonstrate the natural language capabilities of ChatGPT and to track changes in efficacy across GPT models. The first GPT model used was GPT-3. As of 10/31/2023, we added results from GPT-4.


National Archives’ Federal Register API – The source of Rules and Proposed Rules.
OpenAI’s ChatGPT API – Creates diary entries in the voice of Uncle Sam Thomas based on Rules and Proposed Rules.
Microsoft’s Power BI – Used for ETL and the Presentation Layer.
OpenAI’s DALL-E AI Image Generator – Assisted in the production of Uncle Sam Thomas’ image.
Python 3.9 – Orchestrates the communication between systems.

Click the bottom right of the app window to expand to full screen. A desktop browser is highly recommended.