/discord-koboldcpp

An attempt to use the KoboldCpp API

Primary LanguagePythonMIT LicenseMIT

discord-koboldcpp

An attempt to use the koboldcpp API with a simple discord chatbot.
This is very much a work in progress, and made for fun.
responds only to the bot name you give it or @<bot>.

Usage

Clone or copy the repository.
Rename the .env.example to .env and change its parameters.
On the target computer, run koboldcpp and THEN the main.py file.
9

Note

Your mileage may vary depending on your Large Language Model, instruct prompts, and samples, please adjust them accordingly to your liking.
Personally, I don't recommend models tuned on roleplay if you want a general chatbot, but you do you.
Best used if you have knowledge on Python, AI LLMs, instruct mode, and koboldcpp.

Features

customizable
memory / chat history remembrance
commands (kinda)

Uses Python 3.12.2