+
Skip to content

1127152834/data-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoFlow

AutoFlow

pingcap%2Fautoflow | Trendshift

Backend Docker Image Version Frontend Docker Image Version E2E Status

Warning

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.

Introduction

AutoFlow is an open source graph rag (graphrag: knowledge graph rag) based knowledge base tool 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.

Image

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

Image

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
  • Tailwind CSS – CSS framework
  • shadcn/ui - Design

Contributing

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

Performance Stats of pingcap/autoflow - Last 28 days

License

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

Contact

You can reach out to us on Discord.

TiDB Docker Compose

This repository contains a Docker Compose configuration for quickly spinning up a TiDB cluster for development or testing purposes.

Components

The cluster consists of:

  • PD (Placement Driver): Manages and schedules TiKV nodes
  • TiKV: Distributed key-value storage engine
  • TiDB: SQL layer compatible with MySQL protocol
  • Prometheus: Monitoring system
  • Grafana: Visualization for monitoring data

Prerequisites

  • Docker and Docker Compose installed
  • At least 4GB of RAM available for the cluster

Directory Structure

Before starting, create the necessary directories:

mkdir -p data/pd data/tikv data/prometheus data/grafana config

Usage

  1. Start the TiDB cluster:
docker-compose up -d
  1. Connect to TiDB:
mysql -h 127.0.0.1 -P 4000 -u root
  1. Access Grafana dashboard:

  2. Access Prometheus:

Configuration

  • TiDB is accessible on port 4000 (MySQL protocol)
  • Grafana is accessible on port 3000
  • Prometheus is accessible on port 9090
  • PD is accessible on port 2379

Data Persistence

All data is stored in the ./data directory:

  • ./data/pd: PD data
  • ./data/tikv: TiKV data
  • ./data/prometheus: Prometheus data
  • ./data/grafana: Grafana data

Shutdown

To stop the cluster:

docker-compose down

To completely remove the cluster including all data:

docker-compose down
rm -rf data

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载