{"id":29188475,"url":"https://github.com/atopx/rag-example","last_synced_at":"2026-04-17T12:33:18.232Z","repository":{"id":293309939,"uuid":"983631808","full_name":"atopx/rag-example","owner":"atopx","description":"A RAG (Retrieval-Augmented Generation) example project","archived":false,"fork":false,"pushed_at":"2025-05-14T17:17:22.000Z","size":4431,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T22:45:36.718Z","etag":null,"topics":["langchain","llm","qdrant","rag","rig","rust","vector"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/atopx.png","metadata":{"files":{"readme":"README-zh.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-05-14T17:12:36.000Z","updated_at":"2025-05-16T09:54:24.000Z","dependencies_parsed_at":"2025-05-14T18:41:49.542Z","dependency_job_id":null,"html_url":"https://github.com/atopx/rag-example","commit_stats":null,"previous_names":["atopx/rag-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/atopx/rag-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atopx%2Frag-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atopx%2Frag-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atopx%2Frag-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atopx%2Frag-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atopx","download_url":"https://codeload.github.com/atopx/rag-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atopx%2Frag-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31929726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:35:34.458Z","status":"ssl_error","status_checked_at":"2026-04-17T10:35:09.472Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["langchain","llm","qdrant","rag","rig","rust","vector"],"created_at":"2025-07-01T22:35:44.594Z","updated_at":"2026-04-17T12:33:18.214Z","avatar_url":"https://github.com/atopx.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rag-example\n\n一个基于RAG（检索增强生成）示例项目，通过处理PDF文档构建知识库，提供智能问答功能。\n\n## 功能特性\n- PDF文档加载与分块处理\n- 文本向量化与向量存储（使用Qdrant）\n- 动态上下文检索的智能问答\n\n## 依赖要求\n- Rust 1.75+\n- OpenAI API 密钥（用于嵌入模型和LLM）\n- Qdrant 向量数据库（需提供URL和API密钥）\n\n## 安装与运行\n1. 克隆仓库：`git clone https://github.com/atopx/rag-example.git`\n2. 安装依赖：`cargo build --release`\n3. 配置环境变量：\n   - `OPENAI_API_KEY`：OpenAI API 密钥\n   - `OPENAI_BASE_URL`：OpenAI API 地址（可选，默认https://api.openai.com）\n   - `QDRANT_URL`：Qdrant 服务URL（如http://localhost:6333）\n   - `QDRANT_API_KEY`：Qdrant API 密钥（如无则留空）\n4. 运行程序：`cargo run`\n\n## 许可\n本项目采用MIT许可协议，详见[LICENSE](LICENSE)文件。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatopx%2Frag-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatopx%2Frag-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatopx%2Frag-example/lists"}