https://github.com/albertnieto/ollama-telegram-py-bot
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.8%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Basic Info
- Host: GitHub
- Owner: albertnieto
- License: apache-2.0
- Language: Python
- Default Branch: main
- Size: 41 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Created over 1 year ago
· Last pushed over 1 year ago
Metadata Files
Readme
License
README.md
Telegram Bot with Ollama
This repository contains a minimal Telegram bot that uses Ollama (Local Large Language Model runner) to answer questions. The bot sends user queries to the Ollama HTTP API and returns the responses to Telegram.
Features
- Text-based conversation with the LLM via Telegram.
- Simple code structure for easy customization.
Prerequisites
- Python 3.9+ recommended.
Telegram Bot Token:
- Obtain a token from BotFather on Telegram.
- Store it in the
TELEGRAM_BOT_TOKENenvironment variable, or set it manually inbot.py(not recommended for production).
Ollama:
- Installed and running locally, or accessible via Docker.
- By default, the bot expects Ollama at
http://localhost:11411/generate. - If different, set the environment variable
OLLAMA_API_URL.
Owner
- Name: Albert
- Login: albertnieto
- Kind: user
- Repositories: 3
- Profile: https://github.com/albertnieto
GitHub Events
Total
- Push event: 5
- Create event: 2
Last Year
- Push event: 5
- Create event: 2
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Albert Nieto | a****0@g****m | 7 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0