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