Skip to content

rickdat/Astra-LlamaIndex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LlamaAstra Library

Overview

This Python library called LlamaAstra, an extension to LlamaIndex, allows you to seamlessly connect to DataStax's Astra Databases. It empowers your applications with the capabilities to perform vector search, generate and execute custom queries.

The library also provides tools to auto-generate CQL queries from natural language and ingest data into your Astra Database.

Key functionalities and features

  • Connect to Astra Databases: Simply provide your client and connection details and establish a seamless connection to your Astra Database.
  • Vector Search: Directly perform vector search on your Astra Database.
  • Custom Query Search: Execute any CQL queries on your Astra Database.
  • Automatically Generate Queries from Natural Language: The library can auto-generate CQL queries based on user's natural language input.
  • Ingest Data: Easily ingest data into your Astra Database.

Check the source code of the library here.

Getting Started

Prerequisites

You need to have Python installed (preferably Python 3.6 or higher). Libraries like openAI, llama_index, IPython and the cassandra-driver also need to be installed.

Get Started

git clone https://github.com/rickdat/Astra-LlamaIndex
pip install cassandra-driver, openai, llama-index

Usage

Import the library as shown below:

from astra-llamaindex-library import SimpleAstraReader

Code Review

Code explanation can be found here

Code Examples

To get started, please visit our code examples here.

Issues

If you encounter any issues, please report them at our issue tracker.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages