I was having a conversation with a programming AI assistant, trying to get advice on how…
- User
I was having a conversation with a programming AI assistant, trying to get advice on how use an obscure library. The assistant kept giving me code that did not compile and references functions that don't seem to exist. What should I do?
- Assistant
If the programming AI assistant is consistently giving you code that doesn't compile and references functions that don't exist, it's possible that there may be a bug in the AI's programming or it may not be familiar with the specific library you are trying to use. In this case, there are a few steps you could take:
-
Double-check that you have correctly communicated the name of the library and the specific functions you are trying to use. Make sure you are both on the same page in terms of what you are looking for.
-
Ask the AI assistant to explain the code it is providing and point out any errors it may have. This will help you better understand what may be causing the issue and potentially allow you to troubleshoot the problem.
-
Consider reaching out to the developers of the AI assistant and reporting the issue you are experiencing. They may be able to help troubleshoot the issue and potentially fix any bugs in the AI's programming.
-
If none of the above steps work, you may need to consider seeking help from a human programmer or consulting other resources such as online forums or documentation for the library in question.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)