Skip to main content

An open-source, local AI chatbot built with GTK4

Project description

Chi

GitHub Repo stars GitHub release (latest by date) GitHub license

Install

For key details, please refer to CONTRIBUTING.md.

To install Chi, simply paste in this command:

git clone https://github.com/srcworks-software/Chi.git
cd chi/src
pip install requirements.txt

Then, run it using

python3 app.py

Dependencies

To install required dependencies paste the command that corresponds to your distro of choice.

Debian

sudo apt update && sudo apt install python3-full -y

Fedora

sudo dnf install -y python3

Arch

sudo pacman -S --noconfirm python

Features

This section describes (and shows how to use) all features in Chi.

Model selection

Model selection is important, as Chi will require a specificed model to use in order to continue. Once selected, it will be saved in config.ini and you will not need to redo this process unless you are switching models.

In the settings menu of Chi, click "Open file", located underneath the text that says "Change your model. Upon clicking, a file dialog will appear, allowing you to look through your computer for a model to use. Note that it must be a .gguf model, optimized for LlaMA 3 style prompts.

After selecting a model, you will be able to use Chi in the "Chat" menu.

Generation parameters

In the settings menu of Chi, you will notice two sliders. One controls generation tokens, and the other controls generation temperature. The following is a quick description of these parameters.

  • Tokens are the maximum length of a response. The higher the number, the longer the response.
  • Temperature is the 'creativity' of the model. A lower number means more logical, basic responses, while a higher number means higher creativity, at the sacrifice of some logic.

Quick action buttons

In the chat section of Chi, you may notice three buttons. These buttons append a message at the end of an input, and can alter responses in more favorable ways. The translations to the prompt for each button is provided in the following.

  • Explain like I'm 5 -> Explain this in a way suitable for a 5 year-old.
  • Explain thoroughly -> Explain this thoroughly with examples.
  • Explain efficiently -> Explain this efficiently and concisely.

Personality customization

In the settings section of Chi, there is an entry box to change the personality. You can write instructions and press enter to save them and apply them to the model. Your customizations are saved in config.ini so there is no worry regarding loss of settings.

Want to contribute?

Read CONTRIBUTING.md for information regarding contribution. Any issues can go into the 'issues' section of the repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

chi_ai-0.6.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chi_ai-0.6.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file chi_ai-0.6.2.tar.gz.

File metadata

  • Download URL: chi_ai-0.6.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for chi_ai-0.6.2.tar.gz
Algorithm Hash digest
SHA256 e3d74ead74fa4e600e3fbe3dc49ee0c972c55c773038fe654dfe3efdbaf089a8
MD5 e31dc043e64966b111cf0acfd5e4fddf
BLAKE2b-256 5d43ecd99d4a834c0e7e55e88cc259707ebec6b84556da5da691d4067a99f5fb

See more details on using hashes here.

File details

Details for the file chi_ai-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: chi_ai-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for chi_ai-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fdd5211304a3f5d53117f52c3004fad46d4cc060d79354dd98071b4e786963c9
MD5 c708d26993b5e60e5fc1ddf381748bc6
BLAKE2b-256 7f9533b1ed0e0cc3a4767a5975b14d34c80bcdc83c23e95678dfc4000879d4ba

See more details on using hashes here.

Supported by

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