No project description provided
Project description
A command-line AI assist that can do math, search, run Python and shell command. Under experiment. Use at your own risks.
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_KEY
from https://platform.openai.com/account/api-keysGOOGLE_API_KEY
from https://console.cloud.google.com/apis/credentialsGOOGLE_CSE_ID
from 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
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
ai_assist-0.0.1.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for ai_assist-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 979df51e76770e726a7753efd7bf1c96f8b2159c8b028d829d5a3be2f421b3bc |
|
MD5 | 7bdb102e5b50371f2eeba25c0589f491 |
|
BLAKE2b-256 | 88a0ebc152d2c0ab9e9403f8d95b5dbe90c4c975e78604b78a1baa53bd081877 |