Skip to main content

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.

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:

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


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.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

ai_assist-0.0.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file ai_assist-0.0.2.tar.gz.

File metadata

  • Download URL: ai_assist-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for ai_assist-0.0.2.tar.gz
Algorithm Hash digest
SHA256 54daf6263546da86d013357ede0e33760434f6097c6fd890a4b00efcaf9b7326
MD5 1c25b1490fc92dd34f9e3d1bcac5533b
BLAKE2b-256 7c170a5aa941693e1428d8b4596aa1bea4b626481ca946fd2899d3926e25dfb3

See more details on using hashes here.

File details

Details for the file ai_assist-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ai_assist-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for ai_assist-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dede132feff77e650f562a35494ba6cf6fe017a57fcb970d9e0d9b7e04ffcaeb
MD5 e0e3d4ce3c163183c8b661b6130fae7b
BLAKE2b-256 37a4165dd732a16552c9659ddc69486a0e2148ca15141e93ad38b0995cd9c41c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page