{"id":21037409,"url":"https://github.com/piinalpin/research-references-bot","last_synced_at":"2025-05-15T14:32:47.670Z","repository":{"id":37605618,"uuid":"187392015","full_name":"piinalpin/research-references-bot","owner":"piinalpin","description":"Create Search Engine Bot on Telegram in Python","archived":false,"fork":false,"pushed_at":"2022-12-08T05:07:51.000Z","size":48927,"stargazers_count":7,"open_issues_count":8,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-03T10:51:20.199Z","etag":null,"topics":["chat-bot","cosine-similarity","line-bot","linebot","python","scikit-learn","search-engine","telegram-bot","tensor-flow"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/piinalpin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-18T18:24:58.000Z","updated_at":"2023-02-09T18:55:32.000Z","dependencies_parsed_at":"2023-01-24T12:00:14.536Z","dependency_job_id":null,"html_url":"https://github.com/piinalpin/research-references-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piinalpin%2Fresearch-references-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piinalpin%2Fresearch-references-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piinalpin%2Fresearch-references-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piinalpin%2Fresearch-references-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piinalpin","download_url":"https://codeload.github.com/piinalpin/research-references-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254359016,"owners_count":22058033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chat-bot","cosine-similarity","line-bot","linebot","python","scikit-learn","search-engine","telegram-bot","tensor-flow"],"created_at":"2024-11-19T13:26:05.316Z","updated_at":"2025-05-15T14:32:45.060Z","avatar_url":"https://github.com/piinalpin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reference Research Bot\nThis project will create search engine bot on telegram using TF IDF and Cosine Similarity.\n\n![Chat Bot](https://raw.githubusercontent.com/piinalpin/research-references-bot/master/docs/chatbot.gif)\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nMake sure you have installed Python 3 on your device\n\n### File Structure\n\n1. [bot.py](https://github.com/piinalpin/research-references-bot/blob/master/bot.py) this file to serve get updates and send message from request\n2. [config.cfg](https://github.com/piinalpin/research-references-bot/blob/master/config.cfg) token telegram bot from Bot Father\n3. [database.py](https://github.com/piinalpin/research-references-bot/blob/master/database.py) define database structure with object oriented mapping\n4. [search_engine.py](https://github.com/piinalpin/research-references-bot/blob/master/search_engine.py) custom library to get result of cosine similarity document\n5. [server.py](https://github.com/piinalpin/research-references-bot/blob/master/server.py) serve message and result from engine\n6. [tensor_flow.py](https://github.com/piinalpin/research-references-bot/blob/master/tensor_flow.py) natural language processing for greeting response\n7. [intents.json](https://github.com/piinalpin/research-references-bot/blob/master/docs/intents.json) greeting or intents json data\n\n### Step for get dataset\n1. Scraping data from http://digilib.uad.ac.id/penelitian/Penelitian/index see on [Scrapping.ipynb](https://github.com/piinalpin/research-references-bot/blob/master/docs/Scrapping.ipynb)\n2. Update dataset\n\n### How To Run\n1. Install requirement\n```\npip install -r requirements.txt\n```\n2. Install `punkt` with `nltk.download()`\n```\n\u003e\u003e\u003e import nlit\n\u003e\u003e\u003e nltk.download(\"punkt\")\n```\n3. Run `server.py`\n```\npython server.py\n```\n4. Go to Telegram Application or access from Telegram Web, then chat with this bot.\n\n## Built With\n\n* [Python 3](https://www.python.org/download/releases/3.0/) - The language programming used\n* [Virtualenv](https://virtualenv.pypa.io/en/latest/) - The virtual environment used\n* [SQL Alchemy](https://www.sqlalchemy.org/) - The database library\n* [NLTK](https://pypi.org/project/nltk/) - Natural Language Toolkit\n* [Tensor Flow](https://pypi.org/project/tensorflow/) - Tensor Flow\n* [Tf Learn](https://pypi.org/project/tflearn/) - Tensor flow for learning\n* [Scikit Learn](https://pypi.org/project/sklearn/) - Scikit Learn use Cosine Similarity\n\n## Clone or Download\n\nYou can clone or download this project\n```\n\u003e Clone : git clone https://github.com/piinalpin/research-references-bot.git\n```\n\n## Chat His\n\n* Telegram Bot Chat : https://t.me/research_references_bot\n* LINE Bot Chat : http://line.me/ti/p/@437nryhw\n\n## Authors\n\n* **Alvinditya Saputra** - [LinkedIn](https://linkedin.com/in/piinalpin) [Instagram](https://www.instagram.com/piinalpin) [Twitter](https://www.twitter.com/piinalpin)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiinalpin%2Fresearch-references-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiinalpin%2Fresearch-references-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiinalpin%2Fresearch-references-bot/lists"}