Coder Social home page Coder Social logo

Comments (5)

Ultra980 avatar Ultra980 commented on August 18, 2024 1

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.

TheR1D avatar TheR1D commented on August 18, 2024

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.

Ultra980 avatar Ultra980 commented on August 18, 2024

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.

TheR1D avatar TheR1D commented on August 18, 2024

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.

TheR1D avatar TheR1D commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.