Oracle Database support

Add oracle 23ai database as the KV/vector/graph storage
This commit is contained in:
jin
2024-11-08 14:58:41 +08:00
parent 780cf7eeb9
commit 594470ab56
6 changed files with 972 additions and 35 deletions

View File

@@ -59,6 +59,7 @@ class BaseVectorStorage(StorageNameSpace):
@dataclass
class BaseKVStorage(Generic[T], StorageNameSpace):
embedding_func: EmbeddingFunc
async def all_keys(self) -> list[str]:
raise NotImplementedError
@@ -83,6 +84,7 @@ class BaseKVStorage(Generic[T], StorageNameSpace):
@dataclass
class BaseGraphStorage(StorageNameSpace):
embedding_func: EmbeddingFunc
async def has_node(self, node_id: str) -> bool:
raise NotImplementedError