Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

shizamuru-dev/MatrixGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MatrixGPT

Attention! This project was created by thrown together hastily, I do not exclude that there are places for improvement in my code, so do not throw 🍅 at me... 🙃

A little bit about functionality:

  • 🤖 Support for private messages with the user
  • 👥 Support for working with multiple users
  • 📝 Short-term memory ( 20 messages )
  • 🧹 Forced memory cleanup
  • 💸 Free api for working with chatgpt
  • 🔁 It is possible to change the provider by the user
  • 🖲️Using PostgreSQL as storage
  • There could be your suggestion here...

Installing

In order to launch this bot, you need to:

  • Have a created account on the matrix server
  • Dedicated server on Ubuntu/Debian/Arch etc..

Okay, let's move on to the installation:

  • Clone this repo : git clone https://github.com/shizamuru-dev/MatrixGPT.git
  • Go to the downloaded directory cd MatrixGPT
  • Now you need to install all the dependencies: pip install -r requirements.txt
  • Go to Config and edit cfg.py file (To be precise: botID,botPassword,homeServer)

Run

That's all, it remains only to launch the bot: python3 main.py After starting, you need to confirm the session to do this, follow the instructions: *Сlick*

About

ChatGPT for Matrix based on g4f

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages