LlamaIndex is a tool for building LLM-powered applications over custom data.
Connect this sink to LangStream to sink records to a Cassandra vector database via LlamaIndex.
Example
This example pipeline receives records from an input topic and sinks the records to a vector database via LlamaIndex.
name:"LlamaIndex Cassandra sink"topics: - name:"input-topic"creation-mode:create-if-not-existspipeline: - name:"Compute embeddings and store them in Cassandra using LlamaIndex"type:"python-sink"input:"input-topic"configuration:className:llamaindex_cassandra.LlamaIndexCassandraSinkopenaiKey:"${ secrets.open-ai.access-key }"cassandra:username:"${ secrets.astra.clientId }"password:"${ secrets.astra.secret }"secureBundle:"${ secrets.astra.secureBundle }"keyspace:ks1table:vs_ll_openai