karthink / gptel

A simple LLM client for Emacs
GNU General Public License v3.0
1.04k stars 111 forks source link

Description in system directives; a summary for complex prompts #267

Closed gregoryg closed 3 months ago

gregoryg commented 3 months ago

I add descriptions in my growing list of long complex gptel directives.

I find it helpful to use as a memory jog or summary of what long complex prompts are supposed to accomplish.

It has proven useful in a custom non-transient-mode function that uses annotations and looks like this: completing-read-gptel-directives-with-description

Note that any prompt with no description set shows as "NO DESCRIPTION".

This change includes the definition needed for the customization framework, and still works with the existing transient selection framework.

gregoryg commented 3 months ago

please hold off on this - in current version I see that transient mode selection is not working - I will investigate

gregoryg commented 3 months ago

closing in order to do more testing with gptel-transient.el