flexiable-gpt READMEFlexiable-gpt is designed for authors to help with writing blogs, briefs, articles, and books in markdown or plaintext files. Similar to pay apps like Rytr, but without the monthly membership. To do that this extension provides some basic, core prompts that can be bound to keyboard shortcuts like "expand" and "concise". But given that everyone has different styles and needs, this plugin allows you to build your own canned prompts via configuration. All of these prompts work based on selected text. They can operate in replace/rewrite, prefix, or postfix mode. Prefix inserts generated content before the selected text, and postfix inserts it after. This is currently only backed by ChatGpt from Open AI. This means you will need an Open AI token and a payment card on file with Open Ai. If you intend to heavily use GPT-4, set up limits on your account to avoid billing surprises. My hope is that the community can help provide direction for other API's, including self-hosted ones, to integrate into this extension, as well as built-in prompts and features. FeaturesAI backend support
Built in AI Generation commandsAll of these commands operate on selected text unless otherwise noted.
I am trying to balance the overhead of having more commands with the power of shortcut keys for commonly used commands and reducing noise in the command pallet by multiplexing commands with quick edits, like tone editing. That said, I welcome suggestions and features to add to the built-in command set. Commands For Changing Settings
Context is simply the first system message in a chat exchange. Consider it reusable instructions about how you want the AI to respond, context about what you want to do, or helpful data for it to answer questions about. Read this blog for more details about context. Common use cases for context:
Please keep in mind that all models limit total input tokens per request. This includes the context, the prompt you use, and the text you have selected. They also charge for it! Consider condensing your context to reduce it's size. Custom prompts
If you find yourself using similar manual prompts over and over again, put them into your settings. It does require digging into the JSON configuration for this plugin, but there are examples there to help. The options for behavior are "replace", "prefix" and "postfix". If you are getting really good results out of a custom prompt, consider sharing it on GitHub as a feature request. Extension SettingsPlease consult the configuration section of the package.json. Known Issues
Want to help?I freely admit that I am neither a Typescript Wizard nor an experienced extension developer. If you find this helpful and want to contribute your coding skills, check out the open issues on github. If you have ideas for how to improve this extension, but don't have the coding skills to do it, open up a github issue and tag it with "enhancement". You can also consider becoming a sponsor or leaving a tip. Release Notes0.4.0
0.3.0
0.2.0
0.1.0The initial release of flexiable-gpt. OfGER+tSZIOSz314OlHk1aM+N8oNXDRHqTn3c5EVknYO5b5s0kqq40lJzoGj99ZXCvoFhkNG8KwQQvBPaR0FtQ==Following extension guidelinesEnsure that you've read through the extensions guidelines and follow the best practices for creating your extension. For more informationEnjoy! |