A local LLM-based AI assistant built in Python with the help of LangChain, OpenAI (Whisper, GPT), Bark, and Chroma.
This installation method is designed to be user-friendly, assuming you have Python, Git, and ffmpeg already installed on your system. The setup script automates the process of cloning the repository, creating a Python virtual environment, installing necessary Python packages, and ensuring ffmpeg is installed for audio file handling.
Before running the installation command, please ensure the following requirements are met:
python3 --version
in your terminal. If you need to install Python, visit the official Python website for download instructions.git --version
. Visit Git's official site for installation instructions if needed.ffmpeg -version
. For installation instructions, refer to ffmpeg's official website.Once you have the prerequisites installed, you can set up the project using the following command:
curl https://raw.githubusercontent.com/JordieB/lippy/main/project_setup.py | python3
The setup script performs the following actions:
lippy
project from GitHub to your local machine.requirements.txt
into the virtual environment. It also installs the project in editable mode (pip install -e .
), which is useful for development purposes.ffmpeg
(for Unix/Linux/MacOS users): If you're on a Unix/Linux/MacOS system, the script attempts to install ffmpeg
using the system's package manager (e.g., apt-get
for Debian/Ubuntu). Windows users will need to install ffmpeg manually if it's not already installed.Windows users need to ensure ffmpeg is installed manually. The recommended method is to use a package manager like Chocolatey (choco install ffmpeg
). Alternatively, you can download ffmpeg from its official website and follow the installation instructions.
After running the installation command, you'll have a fully set up project environment ready for development or use. For further instructions on how to use the project, refer to the subsequent sections of this README.
Under Construction
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.