{"id":20472337,"url":"https://github.com/cack195/local-rag-chat-assistant","last_synced_at":"2026-06-06T19:31:57.119Z","repository":{"id":244930751,"uuid":"816742064","full_name":"cack195/Local-RAG-Chat-Assistant","owner":"cack195","description":"Local AI Assistant using Ollama model (llama3)","archived":false,"fork":false,"pushed_at":"2024-06-18T13:06:14.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T02:25:38.366Z","etag":null,"topics":[],"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/cack195.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-06-18T10:13:38.000Z","updated_at":"2024-06-18T13:06:17.000Z","dependencies_parsed_at":"2025-01-16T02:25:29.191Z","dependency_job_id":"629a8b02-dfab-4e31-98fd-b02453225296","html_url":"https://github.com/cack195/Local-RAG-Chat-Assistant","commit_stats":null,"previous_names":["cack195/local-rag-chat-assistant"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cack195%2FLocal-RAG-Chat-Assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cack195%2FLocal-RAG-Chat-Assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cack195%2FLocal-RAG-Chat-Assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cack195%2FLocal-RAG-Chat-Assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cack195","download_url":"https://codeload.github.com/cack195/Local-RAG-Chat-Assistant/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242039664,"owners_count":20061925,"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":[],"created_at":"2024-11-15T14:19:33.415Z","updated_at":"2026-06-06T19:31:57.077Z","avatar_url":"https://github.com/cack195.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local-RAG-Chat-Assistant\nLocal AI Assistant using flask and Ollama model (llama3)\n\n## Setup\n- First fork or clone the project\n```sh\ngit clone https://github.com/cack195/Local-RAG-Chat-Assistant.git\n```\n\n### Install Ollama and Download Models\n- Follow the [installation guide for Ollama](https://github.com/ollama/ollama?tab=readme-ov-file#macos).\n- Next, download the language models (LLMs) you plan to use:\n\n    ```sh\n    ollama pull phi3\n    ollama pull llama3\n    ollama pull nomic-embed-text\n    ```\n\n### Set Up a Virtual Environment\n- Create a Python virtual environment:\n\n    ```sh\n    python3 -m venv venv\n    ```\n\n- Activate the virtual environment:\n\n    ```sh\n    source venv/bin/activate\n    ```\n\n### Install Required Libraries\nInstall the necessary Python libraries:\n\n```sh\npip install -r requirements.txt\n```\n\n### Start PgVector\nEnsure [Docker Desktop](https://docs.docker.com/get-docker/) is installed first.\n- Start PgVector using Docker:\n```sh\ndocker run -d \\\n  -e POSTGRES_DB=ai \\\n  -e POSTGRES_USER=ai \\\n  -e POSTGRES_PASSWORD=ai \\\n  -e PGDATA=/var/lib/postgresql/data/pgdata \\\n  -v pgvolume:/var/lib/postgresql/data \\\n  -p 5532:5432 \\\n  --name pgvector \\\n  phidata/pgvector:16\n```\n### launch the Application\n- Run the following command\n```sh\npython3 app.py\n```\n- Open [http://127.0.0.1:5000/](http://127.0.0.1:5000/) in your browser to view the local RAG app.\n- You can add websites or PDFs and ask questions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcack195%2Flocal-rag-chat-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcack195%2Flocal-rag-chat-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcack195%2Flocal-rag-chat-assistant/lists"}