GithubHelp home page GithubHelp logo

chatarr's Introduction

Chatarr

Discord/Telegram chatbot with KoboldcAI/Koboldcpp/OpenRouter integration.

TODO LIST

  • Docker documentation
  • This README.md
  • Improve memory (currently doesn't writte new memories)

Environment variables

You can both create a .env file on the root of this project from .env.example or define the following environment variables:

Key Description
AI_PROVIDER AI Provider (OpenRouter or Kobold)
BOT_CHARACTER_CARD_PATH Bot character card path https://github.com/malfoyslastname/character-card-spec-v2/blob/main/spec_v1.md
BOT_HISTORY_LIMIT Maximum number of message history to retrieve
BOT_TEMPERATURE Bot temperature
DISCORD_BOT_TOKEN Discord's bot token from https://discord.com/developers/applications/
DISCORD_CHANNEL_BORED_CHANNEL Discord channel Id where bot will continue conversations or complain about being boring
DISCORD_CHANNEL_CONFINAMENT Discord channel Ids separated by comma where bot can read an talk
DISCORD_STATUS Discord bot custom status
TELEGRAM_BOT_TOKEN Telegram token you receive from @BotFather
TELEGRAM_CHANNEL_CONFINAMENT Telegram channel Ids separated by comma where bot can read an talk
MESSENGER_CLIENT Messenger client (Discord or Telegram)
KOBOLD_ADDRESS Kobold server address
OPENROUTER_API_KEY OpenRouter API key
OPENROUTER_MODEL OpenRouter model (https://openrouter.ai/docs#models)

Start the bot

Start KoboldAI/KoboldAICpp (if you use it) and then:

pnpm start

chatarr's People

Contributors

haskou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.