marvin.memory.providers.qdrant

Classes

QdrantMemory

class QdrantMemory(client: AsyncQdrantClient = lambda: AsyncQdrantClient(path=str(marvin.settings.home_path / 'memory/qdrant'))(), collection_name: str = 'memory-{key}')

Methods:

  • add
    def add(self, memory_key: str, content: str) -> str
    
  • delete
    def delete(self, memory_key: str, memory_id: str)
    
  • get_collection
    def get_collection(self, memory_key: str) -> models.CollectionInfo
    
  • search
    def search(self, memory_key: str, query: str, n: int = 20) -> dict[str, str]
    

Parent Module: providers