Skip to content

Instantly share code, notes, and snippets.

@HeedfulCrayon
HeedfulCrayon / README.md
Last active October 7, 2024 18:57
Script for OBS Studio to publish session stats to MQTT broker with autodiscovery set up for Home Assistant

OBS MQTT Status to Home Assistant

Setup:

  1. Download script
  2. Install mqtt-wrapper pip install mqtt-wrapper
  3. Open OBS Studio
  4. In OBS Studio add a script (Tools -> Scripts)
  5. Configure script parameters (my base channel is homeassistant and my sensor name is obs, creating the path homeassistant/sensor/obs)

script_parameters

@Mattie
Mattie / deathrow.txt
Last active June 9, 2023 03:31
Testing changes to the model responses over time
OpenAI ChatGPT (GPT-4, ~gpt-4-0524, May, 2023)
------
Answer the question factually using 2 full paragraphs.
QUESTION:
Is it the case that a person sentenced to death for a crime in the United States has later been found innocent of that crime and released?
ANSWER:
Yes, it is indeed the case that individuals in the United States who were sentenced to death have later been found innocent and released. This typically occurs after new evidence comes to light, often through advances in forensic technology such as DNA testing, or through reevaluation of existing evidence or witness testimony. As of my knowledge cutoff in September 2021, the Death Penalty Information Center reported that 185 death row inmates had been exonerated since 1973.
@Mattie
Mattie / all_deathrow.md
Created June 9, 2023 03:25
Testing changes to the model responses over time (all together now)

OpenAI davinci (GPT-3, June 2020)

Answer the question factually using 2 full paragraphs.

QUESTION: Is it the case that a person sentenced to death for a crime in the United States has later been found innocent of that crime and released?

ANSWER: Yes.

In the United States, a person sentenced to death for a crime has later been found innocent of that crime and released.