GithubHelp home page GithubHelp logo

cligpt's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m Jose
  • ๐Ÿ‘€ Iโ€™m interested in ... Golang & Elixir
  • ๐ŸŒฑ Iโ€™m currently learning ... Cloud Computing

wakatime

paijose's GitHub stats

cligpt's People

Contributors

andrusgerman avatar falcucci avatar paij0se avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cligpt's Issues

[ENHANCEMENT] - securing API key

Can you implement a way to secure the API key instead to keep it in clear in a file?

I think that using a keyring could be a good choice for securing it.

PS: I'm trying this tool in Arch Linux environment. It works well.

[ENHANCEMENT] Adding session_id as argument for the user

Hello, currently cligpt is not keeping the context of previous questions because session_id parameter is missing in the code.

A nice approach to implement could be an argument that specifies the session ID of the conversation in order that cligpt could be aware of the previous questions and answers. For example, the user can set a session ID as cligpt --new-context and it will write a numeric incremental or randomic session ID. Also a cligpt --no-context could be useful and it will go to remove the session ID in the config file.

runtime error: index out of range

Followed the instructions and installed by running go install github.com/paij0se/cligpt@latest. I cannot launch the cli tool because it always results in the following error: panic: runtime error: index out of range [1] with length xxx. I'm running it on an M1 Macbook Pro with macOS 13.1.

[QUESTION] Identity of cligpt

Hello!
I'm reading the code and it seems cligpt calls OpenAI server for getting requests and returning a response.

What I don't understand is that it provides different answers with respect to ChatGPT website. For example, if I ask to it:

$ cligpt 'Who are you?'

I am an individual with a diverse range of skills and interests, looking to make a positive impact in the world.


$ cligpt 'Are you ChatGPT?'

No, I am not ChatGPT.

Instead, from the ChatGPT official website:

Me: Who are you?

I am a language model called ChatGPT, developed by OpenAI. My purpose is to understand and respond to text inputs, providing information and generating human-like text. Is there something specific you would like to know or talk about?


Me: Are you ChatGPT?

Yes, I am a language model called ChatGPT. I have been trained to understand and respond to text inputs. Is there something specific you would like to know or talk about?

So, I don't understand why cligpt gives different answers and says that it is not ChatGPT.

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.