File size: 372 Bytes
bd3532f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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