### What problem does this PR solve?

### Type of change

- [x] Refactoring
This commit is contained in:
Kevin Hu
2025-01-15 14:06:46 +08:00
committed by GitHub
parent 713f38090b
commit e478586a8e
5 changed files with 6 additions and 10 deletions

View File

@ -1,7 +1,6 @@
from abc import ABC, abstractmethod
from dataclasses import dataclass
import numpy as np
import polars as pl
DEFAULT_MATCH_VECTOR_TOPN = 10
DEFAULT_MATCH_SPARSE_TOPN = 10
@ -187,7 +186,7 @@ class DocStoreConnection(ABC):
knowledgebaseIds: list[str],
aggFields: list[str] = [],
rank_feature: dict | None = None
) -> list[dict] | pl.DataFrame:
):
"""
Search with given conjunctive equivalent filtering condition and return all fields of matched documents
"""