GithubHelp home page GithubHelp logo

glen15 / ygk-a Goto Github PK

View Code? Open in Web Editor NEW

This project forked from code-yeongyu/ygk-a

0.0 0.0 0.0 1.21 MB

YGK-a: Your Genius, Knowledgeable assistant, An advanced ChatGPT client from your shell.

License: MIT License

Python 100.00%

ygk-a's Introduction

YGKA ๐Ÿค–

codecov Release Package to PyPI PyPI version

YGKA is an advanced ChatGPT client for shell that acts as Your Genius Knowledgeable Assistant. YGKA supports Unix/Linux pipelines and requires no setting up of tokens or API keys. Furthermore, if you want to use an OpenAI API key, you can easily configure it.

demo

Key Features ๐Ÿ’ก

  • Supports Unix/Linux pipelines
  • Ready to use without setting up tokens or API keys

Prerequisites ๐Ÿ“š

  • Python 3.9+
  • ChatGPT Account (or OpenAI Account)

Getting Started ๐Ÿš€

To begin using YGKA, install it with pip:

pip install ygka

Once you've installed YGKA, you can start using it right away, like following.

demo

To execute a command, use the following syntax:

ygka "<your command here>"

For example, to ask "hello?" using YGKA, you can use the following command:

ygka "hello?"

You can also use YGKA with Unix pipeline. For example, to ask "what is this file?" while viewing the contents of a text file, you can use the following command:

cat textfile.txt | ygka "what is this file?"

Advanced Settings ๐Ÿ› 

By default, YGKA is configured to use either the official_chatgpt or reverse_engineered_chatgpt language model. To change the language model, modify the ~/.ygka_config.json file as follows:

{
    ...
    "language_model": <language model of your preference>, //"official_chatgpt" or "reverse_engineered_chatgpt"
    "openai_api_key": <your OpenAI API key>
}

Here, you can specify the language model of your preference and add your OpenAI API key.

Inspired By ๐ŸŽจ

  • YeonGyu Kim: My name. The project is named after me.
  • AiShell: A Natural Language Shell Powered by ChatGPT, is a brother project of YGKA that provides a similar functionality.
  • loz: A nodejs version of a GPT3 client that does similar things as YGKA.

Contributions ๐Ÿ’ฌ

Feel free to contribute to YGKA by adding more functionality or fixing bugs.

ygk-a's People

Contributors

code-yeongyu 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.