{"id":22870606,"url":"https://github.com/enlomy/ragchatbot","last_synced_at":"2025-06-19T18:38:48.342Z","repository":{"id":248518717,"uuid":"782457600","full_name":"enlomy/ragChatbot","owner":"enlomy","description":"This project is a dynamic AI chatbot that can be trained from various sources, such as PDFs, documents, websites, and YouTube videos.","archived":false,"fork":false,"pushed_at":"2025-03-11T15:27:25.000Z","size":27,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-05T22:14:50.664Z","etag":null,"topics":["celery","django","faiss","langchain","pinecone","postgresql","python","rag"],"latest_commit_sha":null,"homepage":"","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/enlomy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-05T10:44:38.000Z","updated_at":"2025-03-11T15:27:30.000Z","dependencies_parsed_at":"2024-07-15T14:11:02.091Z","dependency_job_id":null,"html_url":"https://github.com/enlomy/ragChatbot","commit_stats":null,"previous_names":["poseisol/ragchatbot","dappsol/ragchatbot","s0lb0t/ragchatbot","enlomy/ragchatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enlomy%2FragChatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enlomy%2FragChatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enlomy%2FragChatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enlomy%2FragChatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enlomy","download_url":"https://codeload.github.com/enlomy/ragChatbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252584332,"owners_count":21771945,"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":["celery","django","faiss","langchain","pinecone","postgresql","python","rag"],"created_at":"2024-12-13T13:15:15.540Z","updated_at":"2025-05-05T22:14:57.313Z","avatar_url":"https://github.com/enlomy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dynamic AI Chatbot with Custom Training Sources\n## Customizable-gpt-chatbot\nThis project is a dynamic AI chatbot that can be trained from various sources, such as PDFs, documents, websites, and YouTube videos. It uses a user system with social authentication through Google, and the Django REST framework for its backend. The chatbot leverages OpenAI's GPT-3.5 language model to conduct conversations and is designed for scalability and ease of use.\n\n## Features\n- Train chatbot from multiple sources (PDFs, documents, websites, YouTube videos)\n- User system with social authentication through Google\n- Connect with OpenAI GPT-3.5 language model for conversation\n- Use Pinecone and FAISS for vector indexing\n- Employ OpenAI's text-embedding-ada-002 for text embedding\n- Python Langchain library for file processing and text conversion\n- Scalable architecture with separate settings for local, staging, and production environments\n- Dynamic site settings for title and prompt updates\n- Multilingual support\n- PostgreSQL database support\n- Celery task scheduler with Redis and AWS SQS options\n- AWS S3 bucket support for scalable hosting\n- Easy deployment on Heroku or AWS\n\n## Technologies\n- Language: Python\n- Framework: Django REST Framework\n- Database: PostgreSQL\n\n### Major Libraries:\n- Celery\n- Langchain \n- OpenAI\n- Pinecone\n- FAISS\n## Requirements\n- Python 3.8 or above\n- Django 4.1 or above\n- Pinecone API Key\n- API key from OpenAI\n- Redis or AWS SQS\n- PostgreSQL database\n\n## Future Scope\n- Integration with more third-party services for authentication\n- Support for additional file formats and media types for chatbot training\n- Improved context-awareness in conversations\n- Enhanced multilingual support with automatic language detection\n- Integration with popular messaging platforms and chat applications\n\n## How to run\n- Clone the repository. `git clone https://github.com/enlomy/ragChatbot.git`\n- Install the required packages by running `pip install -r requirements.txt`\n- Run celery `celery -A config worker --loglevel=info`\n- Run the command `python manage.py runserver`\n- Open `http://127.0.0.1:8000/` in your browser\n\nIn linux and mac need to install 'sudo apt install python3-dev -y`\n1. Make sure that you have the development libraries for libcurl installed on your system. You can install them by running the following command: `sudo apt-get install libcurl4-openssl-dev gcc libssl-dev -y`\n2. Make sure that you have the latest version of pip and setuptools installed by running the following command: `pip install --upgrade pip setuptools`\n3. `pip install pycurl`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenlomy%2Fragchatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenlomy%2Fragchatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenlomy%2Fragchatbot/lists"}