A command-line AI assist that can do math, search, run Python and shell command. Under experiment. Use at your own risks.
Install
pip install ai-assist
Setup
You will need put the following environment variables in a .env file in your home directory.
# used for calling OpenAI's API
OPENAI_API_KEY=...
# used for calling Google Search API
GOOGLE_API_KEY=...
GOOGLE_CSE_ID=...
You can generate/get keys from links below:
OPENAI_API_KEYfrom https://platform.openai.com/account/api-keysGOOGLE_API_KEYfrom https://console.cloud.google.com/apis/credentialsGOOGLE_CSE_IDfrom https://programmablesearchengine.google.com/controlpanel/all
Usage
$ ai
Welcome to the AI.
I do math, search, run python/bash and more.
Type 'exit' to quit.
[USER]<< What's the largest prime number less than 1000?
...
[AI]>> 997
Metadata
Release files for ai-assist 0.0.2
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 | |
|---|---|---|---|---|
| ai_assist-0.0.2.tar.gz | 2.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_assist-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.8 kB
Release files / ai_assist-0.0.2.tar.gz
| Download URL | ai_assist-0.0.2.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54daf6263546da86d013357ede0e33760434f6097c6fd890a4b00efcaf9b7326
|
|
BLAKE2b-256 checksum How to use checksums |
7c170a5aa941693e1428d8b4596aa1bea4b626481ca946fd2899d3926e25dfb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.6 Darwin/21.6.0
|
Release files / ai_assist-0.0.2-py3-none-any.whl
| Download URL | ai_assist-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dede132feff77e650f562a35494ba6cf6fe017a57fcb970d9e0d9b7e04ffcaeb
|
|
BLAKE2b-256 checksum How to use checksums |
37a4165dd732a16552c9659ddc69486a0e2148ca15141e93ad38b0995cd9c41c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.6 Darwin/21.6.0
|
Security for ai-assist 0.0.2
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.