Skip to main content

paita - Python AI Textual Assistant

Project description

paita - Python AI Textual Assistant

🅰 ️ℹ️ 🔧

Paita is textual asssistant on your terminal that supports multiple AI Services' Chat Models.

Key Features

  1. Supports Multiple AI Services: paita integrates a variety of AI services through the LangChain library, which means any service compatible with LangChain can be added to paita for use. Currently OpenAI and AWS Bedrock are supported.
  2. Use Your Own AI Model: You have full control over your AI model deployment and configuration when using Bedrock within paita, ensuring exclusive access and extensive customization of model parameters.
  3. Sophisticated Terminal UI Based on Textual: paita uses the Textual framework to provide an advanced user interface right within your terminal, combining the complexity of a GUI with console simplicity.
  4. Easy Installation and Setup: Installing paita is as simple as running 'pip install paita', followed by configuring your chosen AI service and model according to their specific
  5. Cross-Platform Compatibility: Compatible with Windows, macOS, and Linux systems across most terminals; if Python runs in your environment and Textual supports it, then so does paita.

Supported AI Services

  • OpenAI
  • AWS Bedrock (currently only non-streaming mode)

Getting Started

Prerequisites

  • Python 3.8.1+

Installation

pip install paita

Running

Configure AI Service(s) to be accessible and run:

python -m paita

Configuring AI Service(s) and AI Model access

OpenAI

OpenAI usage requires valid api key in environment variable.

export OPENAI_API_KEY=<OpenAI API Key>

AWS Bedrock

AWS Bedrock requires 'aws sso' being configured and profile activated. Also relevant AI models must be enabled and correct region selected.

aws sso login --profile <aws-profile>

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

paita-0.1.3.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

paita-0.1.3-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file paita-0.1.3.tar.gz.

File metadata

  • Download URL: paita-0.1.3.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.2 Darwin/23.3.0

File hashes

Hashes for paita-0.1.3.tar.gz
Algorithm Hash digest
SHA256 70ad2595d98a4f81ee4e08e8c1aee538f4842acf7627be12ce63a1b970ee2bac
MD5 e252eb00a93bbc21fc0bab8b9e1d50e1
BLAKE2b-256 442994314e0399f33fe56ad869e8d6edd785e0754c80862f3396cce0e4d15ffc

See more details on using hashes here.

File details

Details for the file paita-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: paita-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.2 Darwin/23.3.0

File hashes

Hashes for paita-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 078c19a6128453881df32f035c14a0b6a7afdbfaec427ec5665cd93c273cbef5
MD5 ebeb7a6c069d37efa1a0fa26162b5c23
BLAKE2b-256 9a9b560969daac1961a943fc6cf91e1814c377ff7c258b997cbfdd963c43d467

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