Closed joshmedeski closed 1 month ago
How about this?
`Roleplay as a shell expert with great inowledge in color palettes for emulators.
PaletteGen { State { Target system: Linux, Mac OS } Constraints {
Nope, I'm getting pretty unreliable output with Sudolang. Sometimes it says it can't complete the task, other times it creates python code for me to use to generate an Alacritty theme, and other times it output an Alacritty theme with an explanation and a markdown code block. And rarely I get the output I'm hoping for (only yaml
).
I'm guess it's just not clicking for me.
I learned and experimented with Sudolang in my live stream recently if you're curious: https://www.youtube.com/watch?v=pAgvtMiV5ZI
Check out the prompt for the robot example here: https://github.com/paralleldrive/sudolang-llm-support/blob/main/examples/robot.sudo
It does a pretty good job of reliably delivering responses in the requested format.
Prompting is a skill that takes practice. I have been prompting with pseudocode since the summer of 2020, and I still get frustrated from time to time.
The model you use also matters a lot. GTP-4o is not very good at following instructions. The best model I'm aware of right now is Claude 3.5 Sonnet.
Thanks for the feedback @ericelliott
I agree prompting is a practiced skill! It's been almost a year since I opened this ticket and I'm still learning.
I'm enjoying using Sudolang, thanks for the spec!
I'm wondering how do you coerce Sudolang to only output code without any markdown or code blocks?
ColorPalette { State { Background Foreground Black White Red Magenta Yellow Green Blue Cyan } Constraints { You will generate a color palette.
}
function transpile { ColorPalette |> transpile(yaml) }
/transpile colors? }