BookmarkSubscribeRSS Feed
Reeza
Super User
What is the prompt used?
illmatic
Quartz | Level 8
"I am attempting to... my source dataset is called .... here is the proc contents of said dataset: "pasted proc contents". And then of course it's being as detailed as possible in my explanation and reminding ChatGPT to ask me clarifying questions instead of assuming. Errors of course are copied from the log and pasted back for debugging, additional context is added when I notice that ChatGPT is falling into a logic trap, but that's much rarer now with 4o.
Reeza
Super User
Nice, prompts definitely have a big impact on the results in the LLM results. Vague questions get vague responses is very true in LLM. If you can't articulate your problem well, LLMs won't be super effective.

I'm looking at some code specific models (Bamba2) in the near future. Curious to see how those perform.
NKormanik
Barite | Level 11

Similar to talking with a human:  If you use grade school talk, you don't get far.  If you use post grad talk, you get lots further. 

 

ChatGPT and Claude are able to carry on quite well at the post grad level.  Not true of most humans.

illmatic
Quartz | Level 8

I have had excellent success with ChatGPT 4o when comparing it to Claude and Gemini. It is by far the best for SAS code creation, debugging, etc.

 

I have also tried the plug-in for VS Code for SAS so that I may use GitHub's CoPilot, and it's also pretty good, but there were some features that were missing in the plug-in that I needed for my tasks, so I have to abandon it for now.

 

For your particular scenario, ChatGPT 4o can debug and work it's way out of logic issues, but the only annoying things right now for me is feeding ChatGPT background information (i.e. characteristics of a dataset, in which I will copy-paste the proc contents into chatgpt) and the lack of an AutoGPT so it can debug and test the code itself without me having to go back-and-forth. If ChatGPT could get better insight into the data structures referenced in my code + AutoGPT, I'd be in heaven.

 

NKormanik
Barite | Level 11

Sometimes ChatGPT just simply falls short when it comes to advanced macros.  Terribly frustrating.  Error after error after error.

I let Claude have a look, and Claude sometimes magically finds the solution.  Unreal.  No errors in the execution.

But, generally ChatGPT seems to have an edge over Claude.  And!!!  ChatGPT allows attaching more types of stuff.  INCLUDING SAS DATASETS THEMSELVES!!!!

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 20 replies
  • 1484 views
  • 19 likes
  • 7 in conversation