Skip to content

jorge-jrzz/llm_agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM-based agents

For run the code, you need to run the following commands:

pipenv install

For wishper function, you need to install the command-line tool ffmpeg in your system. You can install it with the following commands:

# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg

# on Arch Linux
sudo pacman -S ffmpeg

# on MacOS using Homebrew (https://brew.sh/)
brew install ffmpeg

# on Windows using Chocolatey (https://chocolatey.org/)
choco install ffmpeg

# on Windows using Scoop (https://scoop.sh/)
scoop install ffmpeg

Now, you have to create a .env file in the root of the project with the following command:

cp .env.example .env

Add your credentials in the .env file.

Before starting the script, turn on the virtual environment with the following command:

pipenv shell

Finally, you can run the following command to start the server:

python bot.py

Architecture

This is the flow of the project:

architecture

Demo

Video demo

About

LLM-based agents in a Telegram bot

Topics

Resources

License

Stars

Watchers

Forks

Languages