Advice for using ChatGPT or Gemini to support coding in PsychoPy

Hi everyone,

I’m dipping my toes in the ChatGPT/Gemini waters and was thinking that AI might make for a useful tool to help undergraduates with little coding experience quickly build new experiments in PsychoPy that go beyond what Builder will do through the GUI–and, sure, I’d love to streamline the coding process for me, as well!

I’ve seen posts here referring to users who asked ChatGPT for assistance debugging certain errors (with mixed results), but I was wondering if anyone has more general advice as to which tool (ChatGPT or Gemini Ultra) is better for the task and how best to incorporate it into the process.

Relatedly, are there any plans to have more comprehensive integration between PsychoPy at ChatGPT in the future?

Kind regards,

Justin

Justin: I’m very far from expert, but have used ChatGPT 4 for Psychopy coding help, so take my comments with a large grain of salt. 1. As with any other prompts for ChatGPT, the more specific you can be, the better the response you’ll get. And I do more “:the more specific.” 2. ChatGPT’s analysis of Psychopy Builder errrors seems hit or miss --sometimes right on the money, other times useless. 3. ChatGPT is particulaly helpful in giving advice for Python coding. This undoubtedly reflects the large amount of Python training material its LLM has had.

2 Likes

Most appreciated! All very good things to keep in mind.