update
This commit is contained in:
parent
5d04dfb248
commit
ab3c9a769a
@ -68,6 +68,10 @@ class KBESService:
|
||||
if not KBConfig.KB_ES_URL:
|
||||
raise KBESServiceError("KB_ES_URL/KB_OS_URL 未配置")
|
||||
|
||||
logger.info(
|
||||
f"[KB_ES] using es_url={KBConfig.KB_ES_URL} | index={KBConfig.KB_ES_INDEX} | top_k={KBConfig.KB_TOP_K}"
|
||||
)
|
||||
|
||||
t0 = time.perf_counter()
|
||||
chunks, metrics_raw = await cls._es_search(question)
|
||||
retrieve_ms = (time.perf_counter() - t0) * 1000
|
||||
|
||||
Loading…
Reference in New Issue
Block a user