No project description provided
Project description
AiShell 🤖
A simple Python code that connects to OpenAI's ChatGPT and executes the returned results.
If you are interested in these projects, please checkout AiShell's brother project: YGK-a. YGK-a is a client for the ChatGPT from your terminal, and also supports unix/linux pipelines.
Demo
Key Features 💡
- Interact with your computer using natural language
- Automatically executes the command from the response of ChatGPT
- Good for complex tasks like handling Git and extracting tar files
- No need to search StackOverflow for commands,
AiShell
has got you covered AiShell
simplifies the process of setting up and retrieving tokens or API keys.- With
AiShell
, you don't have to worry about the technical details. - Simply install
AiShell
, execute it, and you're ready to go!
- With
Prerequisites 📚
- Python 3.9+
- ChatGPT Account (or OpenAI Account)
Getting Started 🚀
To begin using AiShell
, start by installing it with pip:
pip install aishell
Once you've installed AiShell
, you can start using it right away.
For example, to print "Hello World" using AiShell
, enter the following command:
aishell 'print Hello World'
Advanced Settings 🛠
By default, AiShell
is configured to use the reverse-engineered ChatGPT client and retrieve login information from your browser, so you don't need to configure anything to use AiShell
. However, for those who want to use different models with an OpenAI API Key, you can configure it as follows:
- Create an account on OpenAI.
- Go to https://platform.openai.com/account/api-keys and copy your API key.
- Modify or create the
~/.aishell_config.json
file as follows:
{
...
"language_model": <language model of your preference>, //"official_chatgpt" or "gpt3"
"openai_api_key": <your OpenAI API key>
}
Here, you can specify the language model of your preference, such as "official_chatgpt" or "gpt3", and add your OpenAI API key. This will enable AiShell to use the specified language model and API key when executing commands.
Contributions 💬
Feel free to contribute to AiShell
by adding more functionality or fixing bugs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aishell-2023.3.10.tar.gz
.
File metadata
- Download URL: aishell-2023.3.10.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.9.16 Linux/5.15.0-1034-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d932c4df5ff7e8fb7a997e3749ac2ade6b3513e3b26274fdbc20fc2aabf0cf0 |
|
MD5 | bb62cd979ca69742ff225c015633a6c8 |
|
BLAKE2b-256 | 657f29011ef15c167523abba23fee329f42df08661e77029209072ea1fa9e80a |
File details
Details for the file aishell-2023.3.10-py3-none-any.whl
.
File metadata
- Download URL: aishell-2023.3.10-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.9.16 Linux/5.15.0-1034-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9bd7e8e23be8095e2afb86862192e8970955a83a95af466abb2034a91892009 |
|
MD5 | a2512336cf729f42fcea2d4c6ea49062 |
|
BLAKE2b-256 | e160a392f834ad4015e51c16b5f6fbc871d9041acd9230aefa8a013a64bcad2f |