pingcap / autoflow

pingcap/autoflow is a Graph RAG based and conversational knowledge base tool built with TiDB Serverless Vector Storage. Demo: https://tidb.ai
https://tidb.ai
Apache License 2.0
1.58k stars 76 forks source link

Impossible to run standalone or offline #399

Closed flavienbwk closed 2 days ago

flavienbwk commented 2 days ago

Hello,

I have a use case for autoflow where I want to run this project offline.

However, and even after deploying a standalone version of TiDB with Autoflow, it appears Autoflow can't be run without TiDB Cloud Serverless because Pingcap didn't opensource the VECTOR() type in TiDB.

Although I understand the commercial strategy, this makes this entire project not really open source (stated "open source GraphRAG" in documentation). At most, partially open-source. (see below)

What alternative do you recommend for this use case ?

Thank you,

breezewish commented 2 days ago

The minimal required open-source TiDB version is v8.4, could you try with that instead? For example:

tiup playground v8.4 --tag my_cluster

Nightly should be also fine, which provides more up-to-date features and updates:

tiup playground nightly --tag my_cluster
Icemap commented 2 days ago

Hi @flavienbwk, thanks for liking! Here is the document of the Vector for TiDB v8.4 https://docs.pingcap.com/tidb/v8.4/vector-search-data-types#vector-data-types . It is possible to run offline, and fully open-source for sure.

flavienbwk commented 2 days ago

Thank you for your quick answer and the clarification! I confirm I can run migrations and start the project with the 8.4 version :heavy_check_mark:

I have several other bugs with the current version on main but I'll eventually open other issues. I'm closing this one.