{"repo":"Mateodioev/ollama-bot","free":true,"listed":false,"github":"https://github.com/Mateodioev/ollama-bot","clone":"git clone https://github.com/Mateodioev/ollama-bot.git","description":"Telegram bot to interact with ollama models","language":"PHP","stars":18,"topics":["ollama","php8","telegram-bot"],"license":"MIT","category":"databases-storage","readme_excerpt":"Ollama telegram bot This bot helps you to interact with ollama models https://github.com/Mateodioev/ollama-bot/assets/68271130/6cbec742-994b-4f79-85cf-804ec95663ad Commands If you want to generate a completion just send a private message to the bot or if you want to use in a public group use the command /chat followed by the text of your choice. Other commands: - /setmodel Change your current model - /start Installation Requirements: - \\ = PHP 8.2 - Mysql - Access to ollama api Steps 1. Clone this repository 2. Install dependencies 3. Setup your database mysql with file db/main.sql 4. Create an edit .env file 5. Run the bot Note If your default model is diferent to codellama for example llama2 , edit the file src/Events/Middlewares.php line 13 See ollama docs in https://github.com/jmorganca/ollama","default_branch":null,"files":null,"tree":[],"storefront":"/r/Mateodioev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Mateodioev/ollama-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."}