Sinaptik-AI / pandas-ai

Chat with your database (SQL, CSV, pandas, polars, mongodb, noSQL, etc). PandasAI makes data analysis conversational using LLMs (GPT 3.5 / 4, Anthropic, VertexAI) and RAG.
https://pandas-ai.com
Other
12.05k stars 1.13k forks source link

Redis connector #724

Open tytung2020 opened 8 months ago

tytung2020 commented 8 months ago

🚀 The feature

Allow pandasai to connect to Redis and perform search over databases.

Motivation, pitch

Currently there are SQL connectors for pandasai, but Redis is also a popular database. Recently Redisearch module added vector storage and search capability, which I think is a valuable addon for pandasai for searching within databases containing multiple long documents.

Alternatives

No response

Additional context

Redisearch resources: https://github.com/RediSearch/RediSearch

tytung2020 commented 8 months ago

Also, datastore and other NoSQL connector for that matter

gventuri commented 8 months ago

@tytung2020 thanks a lot for suggesting, love the idea. Do you want to try to work on this or you prefer some other member from the community for pick this?

P.s. there's now also a issue for adding MongoDB: #728

Bhavay-2001 commented 8 months ago

Hi @gventuri, I would like to contribute to this issue. Please let me know how can I start working on this. Thanks

gventuri commented 8 months ago

@Bhavay-2001 great, assigned to you! You can just start creating a new connector (check out the other connectors for reference)! Let me know if you have any questions!

Bhavay-2001 commented 7 months ago

Hi @gventuri, I have looked into the code for SQL connectors. But I am not able to understand how to start the same with Redis. Where can I start looking into for the same?

AJAnujsharma commented 3 months ago

@tytung2020 thanks a lot for suggesting, love the idea. Do you want to try to work on this or you prefer some other member from the community for pick this?

P.s. there's now also a issue for adding MongoDB: #728

I can help here @gventuri

gventuri commented 2 months ago

@AJAnujsharma sounds exciting, assigning the issue to you!