super-rag icon indicating copy to clipboard operation
super-rag copied to clipboard

Make it possible to use as a library.

Open homanp opened this issue 4 months ago • 2 comments

Describe the issue

Make it possible to use Super-Rag as a Python library. Preferable syntax would be:

from super_rag import SuperRag

client = SuperRag(config)

# Create index
client.ingest(payload)

# Query index
client.query(payload)

# Delete embeddings
client.delete(payload)

homanp avatar Mar 01 '24 07:03 homanp