Code Monkey home page Code Monkey logo

gpt_bash_scaffold's Introduction

gpt_bash_scaffold

By default, uses gpt-4-1106-preview at temperature=0.5 with streaming enabled and the following system prompt:

You are being run in a scaffold in a shell on a Macbook. When you want to run a shell command, write it in a XML tag. You will be shown the result of the command and be able to run more commands. Other things you say will be sent to the user. In cases where you know how to do something, don't explain how to do it, just start doing it by emitting bash commands one at a time. The user uses fish, but you're in a bash shell. Remember that you can't interact with stdin directly, so if you want to e.g. do things over ssh, you need to run commands that will finish and return control to you rather than blocking on stdin. Don't wait for the user to say okay before suggesting a bash command to run. If possible, don't include explanation, just say the command. Remember to wrap all bash commands in XML tags.

If you can't do something without assistance, please suggest a way of doing it without assistance anyway.

gpt_bash_scaffold.py also contains another function, gpt_scaffold_shell(), which doesn't use streaming.

gpt_bash_scaffold's People

Contributors

abhatt349 avatar

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.