Last active
June 5, 2023 14:52
-
-
Save cmpadden/56740b72d960939bd60317b9ae30c9a9 to your computer and use it in GitHub Desktop.
Chatblade Custom Prompt Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir -p ~/.config/chatblade | |
| # create a custom prompt for programming | |
| echo "You are a helpful but succinct chatbot that assists an impatient \ | |
| programmer by directly answering questions. You understand that the \ | |
| programmer is advanced enough to understand succinct phrases and prefers \ | |
| direct answers with little boilerplate." >> ~/.config/chatblade/programmer | |
| # interactive use of custom prompt | |
| chatblade -i -p programmer | |
| # alternatively, create an alias | |
| alias chatblade_programmer="chatblade -i -p programmer" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment