A reusable function to parse streaming JSON responses from the Google Gemini API.
These are versions of this script where the code was updated. Show all versions.