mirror of
https://github.com/runyanjake/memechain.git
synced 2025-10-04 15:57:28 -07:00
memechain
So the idea here is to make an llm agent with tools that use https://imgflip.com/api to turn natural language into a meme.
Setup
Python
python -m venv env
source env/bin/activate
pip install -r requirements.txt
Update config.json with your imgflip username and password. Example:
{
"username": "your_username",
"password": "your_password"
}
python main.py
Ollama
Note we are using the langchain-ollama
python package (see requirements).
Pull model
ollama pull llama3
If failing, check status of ollama process:
sudo service ollama status
Description
So the idea here is to make an llm agent with tools that use https://imgflip.com/api to turn natural language into a meme.
Languages
Python
100%