MCPcopy Create free account
hub / github.com/PaddlePaddle/Knover / query

Method query

projects/DSTC10-Track2/task1/utils.py:1059–1110  ·  view source on GitHub ↗

Query database for a given domain and constraints. Args: domain (str, optional): The current domain. Defaults to None. constraints (list, optional): The hard constraints. Defaults to []. soft_constraints (list, optional): The soft constraints. Defaults to

(self, domain=None, constraints=[], soft_constraints=[], fuzzy_threshold=60)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

_normalizeMethod · 0.80
_db_guideMethod · 0.80

Calls 1

_lower_valueMethod · 0.95

Tested by

no test coverage detected