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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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