- ๐ Hi, Iโm Jose
- ๐ Iโm interested in ... Golang & Elixir
- ๐ฑ Iโm currently learning ... Cloud Computing
paij0se / cligpt Goto Github PK
View Code? Open in Web Editor NEWChatGPT in your terminal
ChatGPT in your terminal
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.
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.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.