Skip to main content

paita - Python AI Textual Assistant

Project description

Paita - Python AI Textual Assistant

Paita is textual assistant for your terminal that supports multiple AI Services and models.

Key Features

  • Supports Multiple AI Services: Paita integrates with a variety of AI services through the LangChain library. If AI service is compatible with LangChain then it can be used also with Paita. Currently OpenAI and AWS Bedrock models are supported.
  • Textual User Interface on your terminal: Paita is based on Textual and provides a sophisticated user interface right within your terminal, combining the complexity of a GUI with console simplicity.
  • Cross-Platform Compatibility: Paita is compatible with Windows, macOS, and Linux systems across most terminals; if Python runs in your environment and Textual supports it, then Paita will work.

Supported AI Services

  • OpenAI
  • AWS Bedrock
  • (More to come soon...)

Getting Started

Prerequisites

  • Python 3.8.1+
  • Access to AI Service and configured in terminal

Installation and running

Install using pip (or pipx)

pip install paita

Run and enjoy!

paita

Some keyboard shortcuts

Paita is textual ui application so using keyboard shortcuts is recommended:

  • Use tab and shift+tab to navigate between input field, send-button and question/answer boxes
  • While question/answer box is focus use enter to "focus-in" and esc to "focus-out"
  • Use c to copy content from question/answer box
  • Contextual keyboard shortcuts are shown at the bottom of the UI

Configuring AI Service(s) and model access

OpenAI

OpenAI usage requires valid api key in environment variable.

export OPENAI_API_KEY=<OpenAI API Key>

AWS Bedrock

Enable AI model access in AWS Bedrock. Configure aws credential access accordingly.

Feedback

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

Uploaded Source

Built Distribution

paita-0.1.5-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: paita-0.1.5.tar.gz
  • Upload date:
  • Size: 307.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for paita-0.1.5.tar.gz
Algorithm Hash digest
SHA256 1c89ab3a4a07866a0d8e39f0bc0907c05f213543ab52330abf4c2e722a30c01a
MD5 864e4471cd9f0340ae1040c95629cb4e
BLAKE2b-256 86a4c6cb4e4cdc86f2356a379d9be896640cca217a14f88d1b012a46a69ad057

See more details on using hashes here.

File details

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

File metadata

  • Download URL: paita-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for paita-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 58a9cd3ac44b22c1a2f9de9c7c06ce60e8bb97f9e0ebd230d8bac2e1730b5a25
MD5 7edf933e4fa406863943974d2a7d2ee6
BLAKE2b-256 9ff25bb9329a7002685b9051d44788957b0883bff4c7f571995c3cb7ab3e0dd8

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