{"repo":"hibobmaster/matrix_chatgpt_bot","free":true,"listed":false,"github":"https://github.com/hibobmaster/matrix_chatgpt_bot","clone":"git clone https://github.com/hibobmaster/matrix_chatgpt_bot.git","description":"A simple matrix bot that supports image generation and chatting using ChatGPT","language":"Python","stars":88,"topics":["chatgpt","gpt3-turbo","matrix","matrix-nio","matrix-synapse","bot","chatbot","python","matrix-dendrite","localai"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Introduction This is a simple Matrix bot that support using OpenAI API, Langchain to generate responses from user inputs. The bot responds to these commands: !gpt , !chat , !v , !pic , !new , !lc and !help depending on the first word of the prompt. Feature 1. Support official openai api and self host models(LocalAI) 2. Support E2E Encrypted Room 3. Colorful code blocks 4. Langchain(Flowise) 5. Image Generation with DALL·E or LocalAI or stable-diffusion-webui 6. GPT Vision(openai or GPT Vision API compatible such as LocalAI) 7. Room level and thread level chat context Installation and Setup Docker method(Recommended): Edit config.json or .env with proper values For explainations and complete parameter list see: https://github.com/hibobmaster/matrix chatgpt bot/wiki Create two empty file, for persist database only manage db(can be ignored) is for langchain agent, sync db is for matrix sync database, context.db is for bot chat context Normal Method: system dependece: libolm-dev 1. Clone the repository and create virtual environment: 2. Install the required dependencies: 3. Create a new config.json file and complete it with the necessary information: If not set: room id : bot will work in the room where it is in 4. Launch the bot: Usage To interact with the bot, simply send a message to the bot in the Matrix room with one of the following prompts: - !help help message - !gpt To generate a one time response: - !chat To chat using official api with context conversation - GPT Vision","default_branch":null,"files":null,"tree":[],"storefront":"/r/hibobmaster","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hibobmaster/matrix_chatgpt_bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}