update comments

This commit is contained in:
2026-04-21 17:13:43 +02:00
parent 18f26815e3
commit 226c3ab4c8
2 changed files with 24 additions and 3 deletions
+7 -2
View File
@@ -1,8 +1,9 @@
import chromadb
from chromadb.errors import NotFoundError
from typing import List
from uuid import uuid4
import chromadb
from chromadb.errors import NotFoundError
from embed import EmbeddingRecord
@@ -55,3 +56,7 @@ def add_data(collection: str, data: List[EmbeddingRecord]) -> None:
documents=[record["text"] for record in data],
embeddings=[record["embedding"] for record in data],
)
def query_data(collection_name: str, texts: list[str]):
raise NotImplementedError()