Skip to content

Moeweb647252/nekobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NekoBot

A Telegram chatbot.

Features

  • Chat with GPT models using Telegram interface
  • Configurable via configuration file
  • Redis-backed storage for chat history

Usage

nekobot -c config.toml

Authentication

Directly send password to bot

Configuration

Create a config.toml file with:

redis_url = ""
password = ""
context_length = 0
log_level = ""
system_prompt = """"""
enable_msg = ""
reset_msg = ""
quening_msg = ""
concurrency = 0


[bot]
token = ""
proxy = "" (optional)

[text]
api_key = ""
api_base = ""
model = ""
provider = "" 
proxy = "" (optional)
temperature = 0.0
max_tokens = 0
top_p = 0.0

Provider: openai for openai-compatible apis

Building

cargo build --release

Command

/retry : retry to generate completion /regenerate : regenerate

License

MIT

About

A telegram chatbot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages