{"id":23031886,"url":"https://github.com/maciekmalachowski/docs-ai-chatbot","last_synced_at":"2026-04-11T07:43:34.577Z","repository":{"id":226488648,"uuid":"764846694","full_name":"maciekmalachowski/Docs-ai-chatbot","owner":"maciekmalachowski","description":"📜An AI-powered tool that lets you interact with your PDF and CSV files, leveraging GPT4ALL and Mistral 7B for intelligent data insights via a Streamlit interface.","archived":false,"fork":false,"pushed_at":"2024-09-17T12:38:53.000Z","size":330,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T21:42:26.796Z","etag":null,"topics":["chatbot","csv","docker","gpt4all","langchain","mistral-7b","pdf","python","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maciekmalachowski.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-02-28T20:20:04.000Z","updated_at":"2024-12-18T15:44:03.000Z","dependencies_parsed_at":"2024-09-17T15:40:53.845Z","dependency_job_id":"0ad68424-b58f-414e-9685-1bb72cdf001c","html_url":"https://github.com/maciekmalachowski/Docs-ai-chatbot","commit_stats":null,"previous_names":["maciekmalachowski/docs-ai-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maciekmalachowski/Docs-ai-chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maciekmalachowski%2FDocs-ai-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maciekmalachowski%2FDocs-ai-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maciekmalachowski%2FDocs-ai-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maciekmalachowski%2FDocs-ai-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maciekmalachowski","download_url":"https://codeload.github.com/maciekmalachowski/Docs-ai-chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maciekmalachowski%2FDocs-ai-chatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31673067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chatbot","csv","docker","gpt4all","langchain","mistral-7b","pdf","python","streamlit"],"created_at":"2024-12-15T15:47:43.285Z","updated_at":"2026-04-11T07:43:34.539Z","avatar_url":"https://github.com/maciekmalachowski.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e📜Docs-ai-chatbot\u003c/h1\u003e\n\n## Table of Contents\n\n - [First look](https://github.com/maciekmalachowski/Docs-ai-chatbot#first-look)\n - [Installation](https://github.com/maciekmalachowski/Docs-ai-chatbot#installation)\n - [Model](https://github.com/maciekmalachowski/Docs-ai-chatbot#model)\n - [App appearance](https://github.com/maciekmalachowski/Docs-ai-chatbot#app-appearance)\n\n\u003cbr\u003e\n \n\u003ch1 align=\"center\" id=\"first-look\"\u003e First look 👀 \u003c/h1\u003e\n\n### An application written in `Python` allows us to chat with our *PDF* and *CSV* files. \n### By using the LLM `GPT4ALL` module from `Langchain`, we read data from the file. Then the chatbot uses the `Mistral 7B` model to return answers to the questions asked.\n### The user interface is based on the open-source `Streamlit` library.\n\n\u003cbr\u003e\n\n\u003ch1 align=\"center\" id=\"installation\"\u003eInstallation ℹ\u003c/h1\u003e\n\n- First of all, clone this repository on your device. Open your shell and paste the following commands:\n\n*URL cloning*\n```\ngit clone https://github.com/maciekmalachowski/Docs-ai-chatbot.git\n```\n*SSH cloning*\n```\ngit clone git@github.com:maciekmalachowski/Docs-ai-chatbot.git\n```\n\u003cbr\u003e\n\n- Then you need to install the requirements contained in ``requirements.txt``.\n```\npip install -r requirements.txt\n```\n\n\u003cbr\u003e\n\n- After that run `internal streamlit server` in the repository folder.\n```\nstreamlit run main.py\n```\nStreamlit will launch the *main.py* file contained in the folder and *automatically* display it in the browser. \n\n\u003cbr\u003e\n\n\u003ch1 align=\"center\" id=\"model\"\u003eModel 📂\u003c/h1\u003e\n\n#### Unfortunately, the model is too large to upload to this project, so you have to download it yourself. \n#### It is very simple. Just go to the [GPT4ALL](https://docs.gpt4all.io/gpt4all_python/home.html) and choose the model that suits you best. \n#### In this project, I am using `mistral-7b-instruct-v0.1.Q4_0.gguf`.\n#### Then place it in the `docs/model` folder.\n\u003cbr\u003e\n\n\u003ch1 align=\"center\" id=\"app-appearance\"\u003e App appearance 🔍\u003c/h1\u003e\n\n#### The front page doesn't have much, but that was the idea - to make the application trivially easy to use.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"media/appearance.png\"\u003e\u003c/p\u003e\n\n#### After uploading the file and pressing the `Process` button, a window will appear where we can ask questions about the document.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"media/appearance-2.png\"\u003e\u003c/p\u003e\n\n#### Additionally, when you upload a *CSV* file, a table with data from that document will be displayed.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"media/csv_file.png\"\u003e\u003c/p\u003e\n\n#### As the name of the project suggests, questions and answers are displayed in the form of a chat.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"media/chat.png\"\u003e\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaciekmalachowski%2Fdocs-ai-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaciekmalachowski%2Fdocs-ai-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaciekmalachowski%2Fdocs-ai-chatbot/lists"}