Skip to main content

AI-powered toolbox for the terminal

Project description

ci

Caillou

Caillou is a project to explore AI technologies (e.g. LLMs, LangChain etc.) by implementing some utilities for the terminal

Roadmap

Some topics to explore:

  • Use an LLM to translate a text to another language
  • Allow to use a local LLM to guaranty privacy and free of charge LLM usage
  • Use an LLM to generate an answer by using the content of local documents
  • Use an LLM to generate an answer by using a function or tool

etc.

Install

You can install the application the following command:

pip install caillou

Requirements

Using OpenAI LLM

In order to use the application with an OpenAI LLM, you need to provide an API key defined as an environment variable OPENAI_API_KEY.

N.B. This API key can also be defined directly in the configuration file created after the first execution (e.g. on Linux: $HOME/.config/caillou/config.json)

Using local LLM

In order to use the application with a local LLM, you need to:

  • Install Ollama
  • Install the desired LLM (e.g. "llama3", "mistral" etc.) with Ollama
  • Adapt the configuration file created after the first execution (e.g. on Linux: $HOME/.config/caillou/config.json)

Features

Translate one line

Using the translate command, you can quickly translate a sentence:

$ caillou translate FR This app rocks bro!
Cette application déchire mec !

(Generated with LLM: openai-gpt-3.5-turbo)

Roll an application

Using the roll command, you can list included applications:

$ caillou roll
Here is a list of available applications:
 - translator

and launch one of them:

$ caillou roll translator

TranslatorApp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

caillou-0.0.9-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file caillou-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: caillou-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for caillou-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 eefc5c7b05ffae8d24caf37d8db9730a2b96a2810246f9cd26076ebddc4698d2
MD5 21a6edb364429d1dc2678099d42dc183
BLAKE2b-256 036edcd2d5f611a96c85c6d785c1dee60191fe3cdf16ec0865199fac1aeee193

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