{"id":24540040,"url":"https://github.com/zackproser/rag-pipeline-tutorial","last_synced_at":"2025-09-04T19:21:40.462Z","repository":{"id":271037554,"uuid":"912193919","full_name":"zackproser/rag-pipeline-tutorial","owner":"zackproser","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-05T02:46:18.000Z","size":1501,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T17:18:07.366Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/zackproser.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":"2025-01-04T21:43:37.000Z","updated_at":"2025-01-05T02:46:19.000Z","dependencies_parsed_at":"2025-01-05T01:30:28.382Z","dependency_job_id":null,"html_url":"https://github.com/zackproser/rag-pipeline-tutorial","commit_stats":null,"previous_names":["zackproser/rag-pipeline-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackproser%2Frag-pipeline-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackproser%2Frag-pipeline-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackproser%2Frag-pipeline-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackproser%2Frag-pipeline-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zackproser","download_url":"https://codeload.github.com/zackproser/rag-pipeline-tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826778,"owners_count":20354220,"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":"2025-01-22T17:18:13.693Z","updated_at":"2025-03-16T04:43:08.006Z","avatar_url":"https://github.com/zackproser.png","language":"TypeScript","readme":"# How to build a RAG pipeline tutorial\n\n![RAG pipeline tutorial](./public/rag-pipeline-tutorial-logo.png)\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch3\u003eA Next.js blog that understands its own content\u003c/h3\u003e\n  \u003cp\u003eBuilt with Next.js 14, TypeScript, and OpenAI\u003c/p\u003e\n\u003c/div\u003e\n\n## 🚀 Overview\n\n![example site index page](./public/homepage.webp)\n\nThis project demonstrates how to build a modern blog with an AI-powered chat interface that can intelligently discuss your blog content. It's a practical implementation of Retrieval Augmented Generation (RAG) that showcases how to:\n\n- Create a responsive, modern blog using Next.js and TypeScript\n- Implement a RAG pipeline for intelligent content retrieval\n- Build a real-time chat interface that understands your blog posts\n- Retrieve related entities (posts, products, services, agents, etc) \n- Augment streaming responses with data serialized in HTTP headers that your React UI can use to update the UI\n- Correctly use the latest AI SDKs from Vercel, Pinecone and OpenAI \n\n![example site chat page](./public/chat.webp)\n\nThe patterns this tutorial demonstrates can be applied to any blog or content site, include e-commerce sites, corporate properties, and more.\n\nThis codebase is part of the comprehensive [RAG Pipeline Tutorial](https://zackproser.com/blog/rag-pipeline-tutorial) that walks you through building intelligent content applications.\n\n## ✨ Features\n\n- **Intelligent Chat Interface**: Chat with an AI that understands your blog content\n- **Real-time Content Updates**: Automatically indexes new blog posts for the RAG pipeline\n- **Modern Stack**: Built with Next.js 14, TypeScript, and Tailwind CSS\n- **Markdown Support**: Write posts in Markdown with front matter\n- **Responsive Design**: Beautiful on all devices\n- **Developer Experience**: Hot reloading, TypeScript types, and more\n\n## 🛠 Quick Start\n\n### Prerequisites\n\nBefore starting with this application, you must first complete the data preparation steps in the companion Jupyter notebook:\n\n1. Visit the [RAG Pipeline Tutorial Notebook](https://github.com/zackproser/rag-pipeline-tutorial-notebook)\n2. Follow the notebook instructions to prepare your vector store and necessary data\n\n### Installation Steps\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/blog-starter-app.git\ncd blog-starter-app\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Set up your environment variables:\n```bash\ncp .env.example .env.local\n# Add your OpenAI API key to .env.local\n```\n\n4. Run the development server:\n```bash\nnpm run dev\n```\n\nVisit [http://localhost:3000](http://localhost:3000) to see your blog in action!\n\n## 📚 Documentation\n\nFor a deep dive into how this works and how to build your own RAG pipeline:\n\n- [Complete RAG Pipeline Tutorial](https://zackproser.com/blog/rag-pipeline-tutorial)\n\n## 📦 Tech Stack\n\n- **Frontend**: Next.js 14, React, TypeScript, Tailwind CSS\n- **AI Integration**: OpenAI API\n- **Content**: Markdown with Gray Matter\n- **Styling**: Tailwind CSS\n- **Deployment**: Vercel\n\n## 📝 License\n\nMIT\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003cp\u003eBuilt with ❤️ as part of the \u003ca href=\"https://zackproser.com/blog/rag-pipeline-tutorial\"\u003eRAG Pipeline Tutorial\u003c/a\u003e\u003c/p\u003e\n\u003c/div\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackproser%2Frag-pipeline-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzackproser%2Frag-pipeline-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackproser%2Frag-pipeline-tutorial/lists"}