Hey! - Your AI-powered Pair Programming Friend
:basecamp: - Watch this YouTube introduction video about Hey!
✍️ - Read the "Introducing Hey! - Your AI-powered Pair Programming Friend" article about the creation process, development phases, and a detailed overview of Hey.
Hey is a free CLI-based AI assistant that is powered by the LLMs. You can set which LLM service you want to connect Hey to.
Installation
Make sure you have pip and python>=3.8 installed on your machine and follow the steps.
1. Setup the package
Option A - Download from PyPI
pip install -U hey-mindsdb
Option B - Download from the repository
pip install git+http://github.com/lnxpy/hey.git
2. Set the token
Once you got the package installed on your system, it's time to set the token into hey. Run the following command to set the token.
hey auth
Usage
There are different commands and sub-commands implemented once you install hey. Check them out via the --help flag.
hey --help
TLDR;
-
If you want to use
Heyin a fast and quick way, use theaskcommand.hey ask "explain the duality term in quantum physics."
-
If your question needs more explanations with code snippets maybe, then just
hey.hey <OPENS EDITOR>Keep in mind that when you run
heywith no sub-commands, the default$EDITORwill be used. If this environment variable is not set, thenvimon Unix-like systems andnotepadon Windows machines will be used by default.
Configuration
There is a command dedicated for more customizability. Check the following bullet-points.
-
Create a base configuration file.
hey config create
-
View and edit the configuration file.
hey config edit
Here is more information about each configuration parameter.
{
// llm service URL
"service": "https://llm.mdb.ai",
// model version
"model": "gpt-3.5-turbo",
// prompt
"prompt": "Answer in a helpful way.",
// themes used for the codeblocks
"code_block_theme": "github-light",
// how would you like `hey` to think?
"loading_text": "Thinking..",
// check out full list: python -m rich.spinner
"loading_spinner": "dots",
// never style the output (in case you need to copy the result)
"never_style": false
}
License
Hey is being licensed under the MIT License.
Shout-out to
Hey! was created for a hackathon partnering MindsDB X Hashnode.
Metadata
Release files for hey-mindsdb 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| hey_mindsdb-0.4.0.tar.gz | 43.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hey_mindsdb-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.6 kB
Release files / hey_mindsdb-0.4.0.tar.gz
| Download URL | hey_mindsdb-0.4.0.tar.gz |
|---|---|
| Size | 43.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82d826bb91d99d03c6dfaf864558b3d7b941f60e208533f2b3935e657149b186
|
|
BLAKE2b-256 checksum How to use checksums |
6121bd40b1f245857be19bad57425ed66608e9c986de2deea01d75d4042109c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / hey_mindsdb-0.4.0-py3-none-any.whl
| Download URL | hey_mindsdb-0.4.0-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a75da360a4bd2d4fc05adc665de22dd408e4b47a3be3d076581e7f1a44b1da7
|
|
BLAKE2b-256 checksum How to use checksums |
a9d0ac4e4c8d7edda708fb7439ce0d123c44616c776ba775666945cf3b393783
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for hey-mindsdb 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.