Skip to content

raggy.vectorstores.base

Vectorstore

Base class for vectorstores.

Allows for easy logging and async context management.

Attributes:

Name Type Description
_in_context bool

Whether the vectorstore is currently in an async context.

Example

Basic Usage of Vectorstore

from raggy.vectorstores.base import Vectorstore

class MyVectorstore(Vectorstore):
    pass

async with MyVectorstore() as vectorstore:
    ...