{"id":21378722,"url":"https://github.com/pingcap/autoflow","last_synced_at":"2025-05-13T15:39:33.973Z","repository":{"id":223244228,"uuid":"752946440","full_name":"pingcap/autoflow","owner":"pingcap","description":"pingcap/autoflow is a Graph RAG based and conversational knowledge base tool built with TiDB Serverless Vector Storage. Demo: https://tidb.ai","archived":false,"fork":false,"pushed_at":"2025-03-31T10:08:21.000Z","size":5675,"stargazers_count":2508,"open_issues_count":76,"forks_count":146,"subscribers_count":25,"default_branch":"main","last_synced_at":"2025-04-11T20:59:06.742Z","etag":null,"topics":["chatbot","cot","graphrag","knowledge-graph","mysql","rag","serverless","vector-database"],"latest_commit_sha":null,"homepage":"https://tidb.ai","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pingcap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","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":"2024-02-05T06:53:14.000Z","updated_at":"2025-04-11T05:40:13.000Z","dependencies_parsed_at":"2024-04-15T03:48:01.934Z","dependency_job_id":"915272ea-a88e-4da7-b67e-1bccef6b5afc","html_url":"https://github.com/pingcap/autoflow","commit_stats":{"total_commits":686,"total_committers":16,"mean_commits":42.875,"dds":0.6151603498542274,"last_synced_commit":"be3f44cdb5d6e6a7091e58beb62e10ec79bef63b"},"previous_names":["pingcap/tidb.ai","pingcap/autoflow"],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fautoflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fautoflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fautoflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingcap%2Fautoflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pingcap","download_url":"https://codeload.github.com/pingcap/autoflow/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480437,"owners_count":21110936,"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":["chatbot","cot","graphrag","knowledge-graph","mysql","rag","serverless","vector-database"],"created_at":"2024-11-22T10:05:13.512Z","updated_at":"2025-05-13T15:39:33.961Z","avatar_url":"https://github.com/pingcap.png","language":"TypeScript","readme":"\u003c!-- markdownlint-disable MD033 MD041 --\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eAutoFlow\u003c/h1\u003e\n  \u003ca href='https://www.pingcap.com/tidb-cloud-serverless/?utm_source=tidb.ai\u0026utm_medium=community'\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/pingcap/tidb.ai/main/frontend/app/public/nextra/icon-dark.svg\" alt=\"AutoFlow\" width =100 height=100\u003e\u003c/img\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://trendshift.io/repositories/12294\" target=\"_blank\"\u003e\u003cimg src=\"https://trendshift.io/api/badge/repositories/12294\" alt=\"pingcap%2Fautoflow | Trendshift\" style=\"width: 250px; height: 55px;\" width=\"250\" height=\"55\"/\u003e\u003c/a\u003e\n\n  [![Backend Docker Image Version](https://img.shields.io/docker/v/tidbai/backend?sort=semver\u0026arch=amd64\u0026label=tidbai%2Fbackend\u0026color=blue\u0026logo=fastapi)](https://hub.docker.com/r/tidbai/backend)\n  [![Frontend Docker Image Version](https://img.shields.io/docker/v/tidbai/frontend?sort=semver\u0026arch=amd64\u0026label=tidbai%2Ffrontend\u0026\u0026color=blue\u0026logo=next.js)](https://hub.docker.com/r/tidbai/frontend)\n  [![E2E Status](https://img.shields.io/github/check-runs/pingcap/tidb.ai/main?nameFilter=E2E%20Test\u0026label=e2e)](https://tidb-ai-playwright.vercel.app/)\n\u003c/div\u003e\n\n\u003e [!WARNING]\n\u003e Autoflow is still in the early stages of development. And we are actively working on it, the next move is to make it to a python package and make it more user-friendly e.g. `pip install autoflow-ai`. If you have any questions or suggestions, please feel free to contact us on [Discussion](https://github.com/pingcap/autoflow/discussions).\n\n## Introduction\n\nAutoFlow is an open source graph rag (graphrag: knowledge graph rag) based knowledge base tool built on top of [TiDB Vector](https://www.pingcap.com/ai?utm_source=tidb.ai\u0026utm_medium=community) and [LlamaIndex](https://github.com/run-llama/llama_index) and [DSPy](https://github.com/stanfordnlp/dspy).\n\n- **Live Demo**: [https://tidb.ai](https://tidb.ai?utm_source=tidb.ai\u0026utm_medium=community)\n- **Deployment Docs**: [Deployment Docs](https://autoflow.tidb.ai/?utm_source=github\u0026utm_medium=tidb.ai)\n\n## Features\n\n1. **Perplexity-style Conversational Search page**: Our platform features an advanced built-in website crawler, designed to elevate your browsing experience. This crawler effortlessly navigates official and documentation sites, ensuring comprehensive coverage and streamlined search processes through sitemap URL scraping.\n\n![Image](https://github.com/user-attachments/assets/50a4e5ce-8b93-446a-8ce7-11ed7844bd1e)\n\n2. **Embeddable JavaScript Snippet**: Integrate our conversational search window effortlessly into your website by copying and embedding a simple JavaScript code snippet. This widget, typically placed at the bottom right corner of your site, facilitates instant responses to product-related queries.\n\n![Image](https://github.com/user-attachments/assets/f0dc82db-c14d-4863-a242-c7da3a719568)\n\n## Deploy\n\n- [Deploy with Docker Compose](https://autoflow.tidb.ai/deploy-with-docker) (with: 4 CPU cores and 8GB RAM)\n\n## Tech Stack\n\n- [TiDB](https://www.pingcap.com/ai?utm_source=tidb.ai\u0026utm_medium=community) – Database to store chat history, vector, json, and analytic\n- [LlamaIndex](https://www.llamaindex.ai/) - RAG framework\n- [DSPy](https://github.com/stanfordnlp/dspy) - The framework for programming—not prompting—foundation models\n- [Next.js](https://nextjs.org/) – Framework\n- [Tailwind CSS](https://tailwindcss.com/) – CSS framework\n- [shadcn/ui](https://ui.shadcn.com/) - Design\n\n## Contributing\n\nWe welcome contributions from the community. If you are interested in contributing to the project, please read the [Contributing Guidelines](/CONTRIBUTING.md).\n\n\u003ca href=\"https://next.ossinsight.io/widgets/official/compose-last-28-days-stats?repo_id=752946440\" target=\"_blank\" style=\"display: block\" align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://next.ossinsight.io/widgets/official/compose-last-28-days-stats/thumbnail.png?repo_id=752946440\u0026image_size=auto\u0026color_scheme=dark\" width=\"655\" height=\"auto\"\u003e\n    \u003cimg alt=\"Performance Stats of pingcap/autoflow - Last 28 days\" src=\"https://next.ossinsight.io/widgets/official/compose-last-28-days-stats/thumbnail.png?repo_id=752946440\u0026image_size=auto\u0026color_scheme=light\" width=\"655\" height=\"auto\"\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\u003c!-- Made with [OSS Insight](https://ossinsight.io/) --\u003e\n\n## License\n\nAutoFlow is open-source under the Apache License, Version 2.0. You can [find it here](https://github.com/pingcap/autoflow/blob/main/LICENSE.txt).\n\n## Contact\n\nYou can reach out to us on [Discord](https://discord.gg/XzSW23Jg9p).","funding_links":[],"categories":["A01_文本生成_文本对话","TypeScript","Boilerplates / Templates","Templates","Table of Contents","📋 Contents","Platforms \u0026 Applications"],"sub_categories":["大语言对话模型及数据","Portfolios","RAG","🔍 5. Retrieval-Augmented Generation (RAG) \u0026 Knowledge"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingcap%2Fautoflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpingcap%2Fautoflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingcap%2Fautoflow/lists"}