8000 GitHub - llSourcell/sonzai
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

llSourcell/sonzai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TeleMafia LLM NPC Demo

A demo of an LLM-powered NPC agent that lives in TeleMafia’s chat and reacts to on-chain player actions with witty/roasting comments in real time.

Features

  • Listens for on-chain player actions
  • Generates real-time LLM-powered reactions
  • Posts reactions in a Telegram group chat

Setup

  1. Clone this repo
  2. Install dependencies:
    pip install -r requirements.txt
  3. Set your API keys as environment variables:
    • OPENAI_API_KEY (for LLM)
    • TELEGRAM_BOT_TOKEN (for Telegram bot)
  4. Run the bot:
    python main.py

Customization

  • Swap OpenAI for another LLM provider if desired.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0