* 📝 doc(db): add database schema changes for chat_id - update the schema to enforce unique constraints on chat_id - added onConflictDoUpdate to handle duplicate entries * 🔧 chore(telegram-bot): Rename embedding dimension variable
telegram-bot
Allow アイリ to talk to you and many other users in Telegram.
Getting started
Clone & install dependencies:
git clone git@github.com:moeru-ai/airi.git
pnpm i
Create a .env.local file:
cd services/telegram-bot
cp .env .env.local
Fill-in the following credentials as configurations:
DISCORD_TOKEN=''
DISCORD_BOT_CLIENT_ID=''
OPENAI_MODEL=''
OPENAI_API_KEY=''
OPENAI_API_BASE_URL=''
Start both DB and the bot:
docker compose up -d
pnpm run -F @proj-airi/telegram-bot start