Được TopGit lập chỉ mục từ metadata GitHub: hemanth/piragi có 132 sao, viết chủ yếu bằng Python. The best RAG interface yet.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
All methods are async: add(), ask(), retrieve(), refresh(), count(), clear().
Retrieval Only
Use piragi as a retrieval layer without LLM:
chunks = kb.retrieve("How does auth work?", top_k=5)
for chunk in chunks:
print(chunk.chunk, chunk.source, chunk.score)
# Use with your own LLM
context = "\n".join(c.chunk for c in chunks)
response = your_llm(f"Context:\n{context}\n\nQuestion: {query}")
LLM Client
from piragi import LLMClient
# Standalone unified client with connection pooling and backoff retries
client = LLMClient(model="gpt-4", api_key="sk-...")
response = client.generate("Hello!")
Pipelines & Advanced API
from piragi.pipelines import IngestionPipeline, RetrievalPipeline
from piragi.loader import DocumentLoader
# Composable pipelines for power users
ingest = IngestionPipeline(store=store, embedder=embedder)
# Memory-efficient streaming loader for large corpora
ingest.run(DocumentLoader.stream("./large-corpora/**/*.pdf"))
# Parallel multi-query search via ThreadPoolExecutor
retrieve = RetrievalPipeline(store=store, llm=llm, max_parallel_queries=4)
retrieve.run("What is X?")
Pipelines offer fine-grained control over ingestion and parallelized retrieval.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/hemanth/piragi là nguồn chính thức.
hemanth/piragi có phải mã nguồn mở không?
Có — hemanth/piragi phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/hemanth/piragi.
hemanth/piragi là gì?
hemanth/piragi (hemanth/piragi) là dự án Python trên GitHub. Theo mô tả gốc: The best RAG interface yet.
Đọc đầy đủ README ở tab phía trên.
piragi có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về piragi.