A coding question from generative AI: ChatGPT vs. Bard vs. Bing Chat.
Tested on 03-29-2023 (mm-dd-yyyy)
.
Initial prompt: Write a code in Python that read notes from a file and plays music. Instead of reading from a "wav" file, read the notes from plain text or a JSON file. You can define the format for the text or JSON file.
Assuming conda is installed, run the following commands:
conda create -n env-genai python=3.10
conda activate env-genai
pip install -r requirements.txt
-
Bard: I'm not trained for coding yet, so I can't help with that right now. I can help you write things, brainstorm ideas, or answer other complex questions. Maybe we can try something like that?
-
Bing Chat: bing.py (example notes: notes/bing.json)
-
ChatGPT 3.5: gpt3.5.py (example notes: notes/gpt3.5.json - it also created note_map.json
-
ChatGPT 4.0: gpt4.py (example notes: notes/gpt4.json)