{"id":49382435,"url":"https://github.com/posit-dev/raghilda","last_synced_at":"2026-04-28T06:05:21.734Z","repository":{"id":344825012,"uuid":"1049425266","full_name":"posit-dev/raghilda","owner":"posit-dev","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-24T12:33:38.000Z","size":6924,"stargazers_count":11,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-24T14:09:55.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://posit-dev.github.io/raghilda/","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/posit-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-09-03T00:53:58.000Z","updated_at":"2026-04-24T12:32:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/posit-dev/raghilda","commit_stats":null,"previous_names":["posit-dev/raghilda"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/posit-dev/raghilda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fraghilda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fraghilda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fraghilda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fraghilda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posit-dev","download_url":"https://codeload.github.com/posit-dev/raghilda/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posit-dev%2Fraghilda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32368537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"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":[],"created_at":"2026-04-28T06:05:18.554Z","updated_at":"2026-04-28T06:05:21.730Z","avatar_url":"https://github.com/posit-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# raghilda \u003cimg src=\"assets/raghilda-logo.png\" align=\"right\" width=\"140\" alt=\"raghilda hex logo\" /\u003e\n\nRAG made simple.\n\nraghilda is a Python package for implementing Retrieval-Augmented Generation (RAG) workflows. It provides a complete solution with sensible defaults while remaining transparent—not a black box.\n\n## Installation\n\n```bash\npip install raghilda\n```\n\nOr install from GitHub:\n\n```bash\npip install git+https://github.com/posit-dev/raghilda.git\n```\n\n## Key Steps\n\nraghilda handles the complete RAG pipeline:\n\n1. **Document Processing** — Convert documents to Markdown using MarkItDown\n2. **Text Chunking** — Split text at semantic boundaries (headings, paragraphs, sentences)\n3. **Embedding** — Generate vector representations via OpenAI or other providers\n4. **Storage** — Store chunks and embeddings in DuckDB, ChromaDB, or OpenAI Vector Stores\n5. **Retrieval** — Find relevant chunks using similarity search or BM25\n\n## Usage\n\n```python\nfrom raghilda.store import DuckDBStore\nfrom raghilda.embedding import EmbeddingOpenAI\nfrom raghilda.scrape import find_links\nfrom raghilda.read import read_as_markdown\nfrom raghilda.chunker import MarkdownChunker\n\n# Create a store with embeddings\nstore = DuckDBStore.create(\n    location=\"chatlas.db\",\n    embed=EmbeddingOpenAI(),\n)\n\n# Find and index pages from the chatlas documentation\nlinks = find_links(\"https://posit-dev.github.io/chatlas/\")\nchunker = MarkdownChunker()\n\nfor link in links:\n    document = read_as_markdown(link)\n    chunked_document = chunker.chunk(document)\n    store.upsert(chunked_document)\n\n# Build indexes before retrieval\nstore.build_index()\n\n# Retrieve relevant chunks\nchunks = store.retrieve(\"How do I stream a response?\", top_k=5)\nfor chunk in chunks:\n    print(chunk.text)\n```\n\n## Links\n\n- [Documentation](https://posit-dev.github.io/raghilda/)\n- [Source Code](https://github.com/posit-dev/raghilda)\n- [PyPI](https://pypi.org/project/raghilda/)\n- [Report Issues](https://github.com/posit-dev/raghilda/issues)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposit-dev%2Fraghilda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposit-dev%2Fraghilda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposit-dev%2Fraghilda/lists"}