Method
query
(
self,
query_text: str,
query_embedding: List[float],
knowledge_id_list: list[str],
document_id_list: list[str] | None,
exclude_document_id_list: list[str],
exclude_paragraph_list: list[str],
is_active: bool,
top_n: int,
similarity: float,
search_mode: SearchMode,
)
Source from the content-addressed store, hash-verified
| 178 | |
| 179 | @abstractmethod |
| 180 | def query( |
| 181 | self, |
| 182 | query_text: str, |
| 183 | query_embedding: List[float], |
| 184 | knowledge_id_list: list[str], |
| 185 | document_id_list: list[str] | None, |
| 186 | exclude_document_id_list: list[str], |
| 187 | exclude_paragraph_list: list[str], |
| 188 | is_active: bool, |
| 189 | top_n: int, |
| 190 | similarity: float, |
| 191 | search_mode: SearchMode, |
| 192 | ): |
| 193 | pass |
| 194 | |
| 195 | @abstractmethod |
| 196 | def hit_test( |
Tested by
no test coverage detected