teddyllm's picture
Upload 20 files
bd3532f verified
raw
history blame contribute delete
372 Bytes
from abc import ABC, abstractmethod
from typing import Any
class VectorStore(ABC):
@abstractmethod
def add_data(self, *args, **kwargs) -> Any:
"""
Add data to the vector store
"""
pass
@abstractmethod
def search(self, *args, **kwargs) -> Any:
"""
Search data from vector store
"""
pass