Comments (5)
What about newbies?
I'll do what you said, and fork it. Perhaps I'll generally make it more suitable for managing a system :)
from shell_gpt.
Hello, thank you for PR and feedback. I think the feature you are suggesting can be done using some shell magic: sgpt -se "update my system $(lsb_release -d)
(lsb_release
might not be included in your distro by default). Also note that all GPT-3 models are trained on one year old data, and passing specific up to date version of distro will not make sense to the models, they might not know them yet. I think just to include the os name manually in your prompt is also acceptable in this case 🙂`sgpt -se "update my Ubuntu os"
from shell_gpt.
Well, it will probably ignore the kernel version, but it's useful for non-linux OSes. Also, instead of telling it which distro it uses every time, isn't it easier to just add a flag to the command?
from shell_gpt.
I believe most shell users are very familiar how to update the system without extra tool. In my opinion for this use case it would be enough to have some alias which will do same thing without calling external source:
alias update="apt update && apt upgrade"
update
Or if you really want to do it with sgpt, I would suggest to use power of open source and fork it for your specific use case 🙂.
Closing the issue for now, with possibility to reopen it in the future, if we will have simmilar feature requests.
from shell_gpt.
This feature will be implemented as part of prompt engineering PR #70
Reopening the issue, as I was mentioning it above :)
from shell_gpt.
Related Issues (20)
- [Feature]Enable vim in REPL mode
- Support streaming to pipe
- Do not force-wrap text when output to file (or piping)
- The results of executes are different
- how to let "function" framwork work for local model, not just for openAI?
- Better formatting in REPL
- I accidentally put the wrong api key, now I can't use it? HOT 1
- Why there are no output?
- Test failure on Python 3.12
- [Feature] Single stroke reaction confirmation in shell mode
- Feature request: add support for Perplexity API HOT 2
- [Contribution] ZSH Completion file HOT 1
- `--create-role` should allow empty role descriptions
- Generate `--repl` and `--chat` tags automatically HOT 2
- Please support claude.ai HOT 3
- Removing `DEFAULT_MODEL` from the `.sgptrc` file, ends up re-writing the whole file
- BadRequestError: 400 Bad Request HOT 1
- lmstudio ? HOT 1
- Unable to use OpenAI API key HOT 2
- Don't align markdown titles to the center, but to the left HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shell_gpt.