{"id":18646172,"url":"https://github.com/ihkcreations/ewu_rag_chatbot","last_synced_at":"2026-02-27T08:42:34.844Z","repository":{"id":241453308,"uuid":"805833768","full_name":"ihkcreations/EWU_RAG_Chatbot","owner":"ihkcreations","description":"A RAG application for East West University (Only Science Faculty)","archived":false,"fork":false,"pushed_at":"2024-05-30T18:21:33.000Z","size":809,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T09:47:02.633Z","etag":null,"topics":["ewu","groq-api","groqapi","llama3","llms","nomic-embed-text","ollama","python","python-project","rag","retrieval-augmented-generation","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ihkcreations.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-25T15:37:55.000Z","updated_at":"2024-11-28T15:29:34.000Z","dependencies_parsed_at":"2024-05-28T12:41:22.422Z","dependency_job_id":"c5159c57-ffd7-4723-9280-536c62441622","html_url":"https://github.com/ihkcreations/EWU_RAG_Chatbot","commit_stats":{"total_commits":26,"total_committers":5,"mean_commits":5.2,"dds":"0.42307692307692313","last_synced_commit":"2b553d325fab1e30a9f1afa5a60885d0bebae640"},"previous_names":["ihkcreations/ewu_rag_chatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihkcreations%2FEWU_RAG_Chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihkcreations%2FEWU_RAG_Chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihkcreations%2FEWU_RAG_Chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ihkcreations%2FEWU_RAG_Chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ihkcreations","download_url":"https://codeload.github.com/ihkcreations/EWU_RAG_Chatbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248401973,"owners_count":21097328,"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":["ewu","groq-api","groqapi","llama3","llms","nomic-embed-text","ollama","python","python-project","rag","retrieval-augmented-generation","streamlit"],"created_at":"2024-11-07T06:18:38.212Z","updated_at":"2026-02-27T08:42:34.799Z","avatar_url":"https://github.com/ihkcreations.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EWU_RAG_Chatbot \u003cimg alt=\"post\" width=\"20%\" src=\"screenshots/ewuLogo.png\"/\u003e\nA RAG (Retrival-Augmented Generation) application on East West University(Only Science Faculty).\n\n# Contributors\n| Name                                 | Student ID            | \n| ------------------                   | ----------            |\n| Md. Iftekhar Hossain Khan            | 2020-3-60-073         |\n| Md. Iftakher Alam                    | 2020-2-60-003         |\n| Nourin Nahar Hridy                   | 2021-1-60-102         |\n| Hasnain Ahmed                        | 2020-1-60-092         |\n\n# Codeocean's capsule link of the app\n**[EWU RAG Chatbot](https://codeocean.com/capsule/7111456/tree)** (Student ID access needed)\n\n## Objective\nThis project implements the functionalities of using LLMs (Large Language Models) of ***GROQ API Interface*** to answer questions based on its own dataset. \n\n## Process Flowchart of EWU RAG Chatbot\n\u003cimg alt=\"post\" width=\"100%\" src=\"screenshots/EWURagFlowchart.jpg\"/\u003e\n\u003cbr\u003e\n\n# Tools and Libraries used\n- **[Ollama]** : For creating embeddings using the open source embedding model **'nomic-embed-text'**\n- **[RecursiveCharacterTextSplitter]** : For chunking the document into smaller segment\n- **[ChromaDB]** : App's vector database for storing embeddings\n- **[GROQ API]**  : Faster inference with the LLMs hosted inside GROQ's interface. \n- **[LangChain]** : Where most of the libraries are used from.\n- **[Streamlit]** : App's framework or UI (User Interface)\n\n# Requirements to run the app\n- Clone the repository by typing in the terminal ```git clone https://github.com/ihkcreations/EWU_RAG_Chatbot.git```\n- Install the necessary libraries first in a virtual python environment by typing ```pip install -r requirements.txt``` \n- Then download Ollama from [here](https://ollama.com/download)\n- After downloading Ollama, start Ollama server by typing: ```ollama serve``` in the terminal\n- Pull the Embedding Model by typing ```ollama pull nomic-embed-text```\n- Edit the **.env** file by placing your own GROQ API Key there. Get your GROQ API Key from [here](https://console.groq.com/keys). Make sure to create a GROQ account first.\n- After downloading the model, start the **app.py** by typing in the terminal ```streamlit run app.py```\n\nEnjoy asking questions related to our East West University.\n\n\n\n# Snapshot of the application\n\u003cimg alt=\"post\" width=\"100%\" src=\"screenshots/appInterface.png\"/\u003e\n    \n[GROQ API]:https://wow.groq.com/why-groq/ \n[ChromaDB]:https://docs.trychroma.com/\n[LangChain]:https://python.langchain.com/v0.2/docs/introduction/\n[RecursiveCharacterTextSplitter]:https://python.langchain.com/v0.1/docs/modules/data_connection/document_transformers/recursive_text_splitter/\n[Ollama]:https://ollama.com/library/nomic-embed-text\n[Streamlit]:https://streamlit.io/\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihkcreations%2Fewu_rag_chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fihkcreations%2Fewu_rag_chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihkcreations%2Fewu_rag_chatbot/lists"}