Skip to content

https://TiDB.AI is a Graph RAG based and conversational knowledge base tool built with TiDB Serverless Vector Storage and LlamaIndex. Open source and free to use.

License

Notifications You must be signed in to change notification settings

pingcap/tidb.ai

Repository files navigation

TiDB.AI

TiDB.AI

Backend Docker Image Version Frontend Docker Image Version E2E Status

Introduction

An open source alternative of Kapa.ai, conversational search tool based on GraphRAG (Knowledge Graph) built on top of TiDB Vector and LlamaIndex and DSPy.

Features

  1. 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.

    out-of-box-conversational-search

    You can even edit the Knowledge Graph to add more information or correct any inaccuracies. This feature is particularly useful for enhancing the search experience and ensuring that the information provided is accurate and up-to-date.

    out-of-box-conversational-search

  2. 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.

embeddable-javascript-snippet

Deploy

Tech Stack

  • TiDB – Database to store chat history, vector, json, and analytic
  • LlamaIndex - RAG framework
  • DSPy - The framework for programming—not prompting—foundation models
  • Next.js – Framework
  • shadcn/ui - Design

Contact Us

You can reach out to us on @TiDB_Developer on Twitter.

Contributing

We welcome contributions from the community. If you are interested in contributing to the project, please read the Contributing Guidelines.

License

TiDB.AI is open-source under the Apache License, Version 2.0. You can find it here.