MCPcopy Create free account
hub / github.com/CL-lau/SQL-GPT / query_embedding_preprocessing

Method query_embedding_preprocessing

embedding/embeddingHelper.py:434–439  ·  view source on GitHub ↗
(self, text, thresholds=.9)

Source from the content-addressed store, hash-verified

432 return None
433
434 def query_embedding_preprocessing(self, text, thresholds=.9):
435 if self.need_redis:
436 if isinstance(text, str):
437 text = text
438
439 return text
440
441 def batchQuery_embedding_preprocessing(self, text):
442 if self.need_redis:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected