{"id":38593128,"url":"https://github.com/leon0204/fast-rag","last_synced_at":"2026-01-17T08:25:40.456Z","repository":{"id":311861662,"uuid":"1045350875","full_name":"leon0204/fast-rag","owner":"leon0204","description":"LLM Rag Intelligent Q\u0026A Robot","archived":false,"fork":false,"pushed_at":"2025-09-05T07:53:07.000Z","size":22742,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-05T09:12:43.692Z","etag":null,"topics":["fastapi","full-stack","llm","ollama","rag"],"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/leon0204.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,"zenodo":null}},"created_at":"2025-08-27T03:07:13.000Z","updated_at":"2025-09-05T08:58:52.000Z","dependencies_parsed_at":"2025-08-27T12:11:28.287Z","dependency_job_id":null,"html_url":"https://github.com/leon0204/fast-rag","commit_stats":null,"previous_names":["leon0204/fast-rag"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leon0204/fast-rag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon0204%2Ffast-rag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon0204%2Ffast-rag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon0204%2Ffast-rag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon0204%2Ffast-rag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leon0204","download_url":"https://codeload.github.com/leon0204/fast-rag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leon0204%2Ffast-rag/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504364,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fastapi","full-stack","llm","ollama","rag"],"created_at":"2026-01-17T08:25:40.376Z","updated_at":"2026-01-17T08:25:40.444Z","avatar_url":"https://github.com/leon0204.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fast RAG\n\n[中文](README.zh-CN.md) | English\n\n\u003e Local, privacy-first RAG using PostgreSQL + pgvector and Ollama. Streams responses via SSE. Simple, fast, hackable.\n\n\n\n\u003cp\u003e\n  \u003ca href=\"https://www.python.org/\"\u003e\u003cimg alt=\"Python\" src=\"https://img.shields.io/badge/Python-3.10%2B-3776AB?logo=python\u0026logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://fastapi.tiangolo.com/\"\u003e\u003cimg alt=\"FastAPI\" src=\"https://img.shields.io/badge/FastAPI-Latest-009485?logo=fastapi\u0026logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.postgresql.org/\"\u003e\u003cimg alt=\"PostgreSQL\" src=\"https://img.shields.io/badge/PostgreSQL-15+-4169E1?logo=postgresql\u0026logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/pgvector/pgvector\"\u003e\u003cimg alt=\"pgvector\" src=\"https://img.shields.io/badge/pgvector-0.8.0-0A7CFF\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/docling-project/docling\"\u003e\u003cimg alt=\"Docling\" src=\"https://img.shields.io/badge/Docling-Document_Converter-4B32C3\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.postgresql.org/docs/current/pgtrgm.html\"\u003e\u003cimg alt=\"FTS/pg_trgm\" src=\"https://img.shields.io/badge/FTS%2Fpg__trgm-Lexical_Retrieval-0064a5\"\u003e\u003c/a\u003e\n  \u003ca href=\"#rag\"\u003e\u003cimg alt=\"Hybrid Retrieval\" src=\"https://img.shields.io/badge/Hybrid_Retrieval-Vector+Lexical-ff7f50\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.docker.com/\"\u003e\u003cimg alt=\"Docker\" src=\"https://img.shields.io/badge/Docker-Required-2496ED?logo=docker\u0026logoColor=white\"\u003e\u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/badge/License-MIT-black\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n![img_6.png](img/img_6.png)\n\n\n![img.png](img/img.png)\n![img_2.png](img/img_2.png)\n![img3.png](img/img3.png)\n\n## Features\n- Process management 【LangGraph】\n- Documents transform core tools 【Docling】、supprt PDF、DOCX、PPTX、Image、HTML、AsciiDoc、Markdown\n- Semantic search with pgvector (768-dim `nomic-embed-text`)\n- REST + Streaming responses via SSE\n- Optional frontend: React + Vite + TypeScript\n- Local models via Ollama or openai api\n\n\n\n## Table of Contents\n- [Local Setup](#local-setup)\n- [Run](#run)\n- [Frontend (optional)](#frontend-optional)\n- [License](#license)\n\n---\n\n\n- env configure\n\n\n---\n\n## Local Setup\n```bash\npip install -r requirements.txt\ndocling-tools models download \ncp env.example .env   # edit DB_* for your environment\n#python scripts/init_db.py   # if not using docker init\n```\n\n---\n\n## Run\n```bash\npython main.py\n```\nApp: http://localhost:8000\n- Swagger UI: http://localhost:8000/docs\n- ReDoc: http://localhost:8000/redoc\n\n---\n\n## Frontend \n\n\nReact + Vite + TypeScript app lives in `frontend-app/`.\n\nDev\n```bash\ncd frontend-app\nnpm install          # or: pnpm i / yarn\nnpm run dev          # http://localhost:5173\n```\n\n---\n\n\n\n## License\nMIT. See `LICENSE`.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleon0204%2Ffast-rag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleon0204%2Ffast-rag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleon0204%2Ffast-rag/lists"}