phidata icon indicating copy to clipboard operation
phidata copied to clipboard

Add Cassandra Integration as Vector Database for Phidata

Open VedantS20 opened this issue 3 months ago • 5 comments

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

VedantS20 avatar Nov 14 '24 22:11 VedantS20