sgpt
sgpt copied to clipboard
Support for prmopts
Thanks for your tool. I find it very useful for glueing things together with GPT. Before I write a wrapper for your tool / needless alternative, do you think there is any chance that something like templating would get into this tool?
I was imagining something like this:
echo "name: Dave\n country: France" | sgpt --template "What would a person called {name} be called in {country}"
This would be analogous prompts in Langchain https://docs.langchain.com/docs/components/prompts/
.
I would entirely understand if you considered this beyond the scope of this tool. If so I might make my own....
I think a reasonable alternative would be to use something like gomplate for templating, but this is less discoverable.
Sounds good to me - thanks for the suggestion! I am going to add it to the roadmap. I do not know yet when this feature will be implemented.