phidatahq / phidata

Build AI Agents with memory, knowledge, tools and reasoning. Chat with them using a beautiful Agent UI.
https://docs.phidata.com
Mozilla Public License 2.0
15.63k stars 2.15k forks source link

Add Cassandra Integration as Vector Database for Phidata #1447

Open VedantS20 opened 2 weeks ago

VedantS20 commented 2 weeks ago

This PR #1328 introduces a new integration with Apache Cassandra as a Vector Database, utilizing CassIO for vector storage and retrieval.

Dependencies

To use this integration, ensure the following libraries are installed:

pip install cassio
pip install cassandra-driver

Cookbook example

Included in this PR is a cookbook example demonstrating how to initialize and use CassandraDb for common vector operations . this is located at cookbook/vectordb/cassandraDb.py

Additional Notes

Users should configure their Cassandra instance and keyspace before using this integration. Quick Start Guide

Sample Response

image

Modal : mistral-large Embedding : mistral-embed