加日志
This commit is contained in:
parent
b3b07850f2
commit
5471e21170
@ -153,7 +153,7 @@ async def converse_with_chat_assistant(
|
||||
if redis:
|
||||
lookup_hash = get_question_hash(converse_params.question)
|
||||
logger.info(f'[SemanticCache] 开始查找 | chat_id={converse_params.chat_id} | question={converse_params.question} | hash={lookup_hash} | threshold=0.60')
|
||||
cache_result = await lookup_question(
|
||||
cache_result = await get_semantic_cache_service().lookup(
|
||||
converse_params.chat_id,
|
||||
converse_params.question,
|
||||
redis
|
||||
|
||||
Loading…
Reference in New Issue
Block a user