MrBanja / gcli

Simple conversation-based open AI ChatGPT cli tool written in go
MIT License
2 stars 0 forks source link

Feature Request - Adding a Pre-Prompt Feature #1

Open rtyke opened 1 year ago

rtyke commented 1 year ago

Hey there!

First off, your CLI wrapper is great! I have been using it for couple days and it's been a fantastic resource in my work, so kudos for creating such a useful tool.

I had an idea I wanted to suggest for a potential additional feature. You know how there are all these awesome pre-built prompts for GPT floating around the internet, right? They're great for getting better responses, but they're usually pretty chunky, and copying them into each query can get tiresome.

What if we could store these prompts in a text file with their own aliases, and pull them into our queries as needed? It could be a real time saver and quality booster. Just a thought.

Thanks for considering my idea & keep up the great work!

MrBanja commented 1 year ago

Hi @rtyke!

Thank you for using gcli. I'm thrilled to hear that you find it useful!

Your idea of storing predefined prompts is intriguing. It could definitely save time and improve the quality of responses. I'm currently working on some new features for gcli, such as adding a version command and enabling model switching (currently limited to GPT-4). I believe I can incorporate your suggestion into these planned changes.

To ensure I understand your requirements clearly, could you please clarify the following points?

  1. Are you looking to use a predefined prompt throughout an entire conversation, or would you prefer to send it separately at the beginning of the conversation while keeping subsequent prompts as they are?

  2. Would you like to manually store the prompts in a file, or would you prefer a command like gcli prompt add {your prompt} that handles the storage automatically?

Once I have a better understanding of your needs, I can proceed with implementing this feature. Thank you for sharing your idea, and I appreciate your patience.

rtyke commented 1 year ago

Hi! I'm glad you are interested ^^

  • Are you looking to use a predefined prompt throughout an entire conversation, or would you prefer to send it separately at the beginning of the conversation while keeping subsequent prompts as they are?

Second option.

  • Would you like to manually store the prompts in a file, or would you prefer a command like gcli prompt add {your prompt} that handles the storage automatically?

I like the first option better.