Skip to main content

Simple python replacement for the bloated LLM frontends.

Project description

rp4

simple python replacement for the bloated LLM frontends

rp4 /fourp/ is a simple and minimalist LLM frontend initially written in a few days, not without the help of LLMs.

Installation

Install from PyPI.

pipx install rp4

Install from GitHub.

pipx install 'git+https://github.com/asakura42/rp4.git'

Clone and install.

git clone ...
pipx install -e .

Usage

rp4 --gui

The program uses https://github.com/xtekky/gpt4free library or your own OpenAI-compatible completions API.

This program was written for the own use and is still in development, so it may not always work the way the user expects. For example, if the model does not change, simply close and reopen the program.

Configuration

Config files are stored in ~/.config/rp4.

TODO

  • various quotes handling
  • aicg proxy parsing (do I really need it?)

Any improvements, issues, thoughts and pull requests will be appreciated.

===

Gabriela from settings.json example taken from https://www.chub.ai/characters/summernon/practice-spanish-with-gabriela

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

rp4-0.0.3.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

rp4-0.0.3-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

Details for the file rp4-0.0.3.tar.gz.

File metadata

  • Download URL: rp4-0.0.3.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for rp4-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c25ea0a7c9e7592f2e6b837837d56b13a9ea62033d7cd3757c6830c416593808
MD5 2cb546a41d4240b1bb3d6340e46a89fd
BLAKE2b-256 2f2e2893d0e50433bbe638c08ba9865d49562186099da44659b458070bfeacaf

See more details on using hashes here.

File details

Details for the file rp4-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: rp4-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for rp4-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a2480c641d488b682f8c8312293556a6f049551f536d0bd5131fb2b9eb3b864a
MD5 1ad37abd1370bd0f443fd542d9d08433
BLAKE2b-256 ef00d9795e36d46d9237911bd1adbca8737122889abf24eb544174b6fbaf2e3a

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