feat(common problems fuzzy query): 增加常用问题模糊查询兜底
This commit is contained in:
1 parent
b69c725992
commit
5a269f940d
18 files changed
+411
-58
No files matched your search
@@ -77,12 +77,13 @@ def try_fast_route(
|
||||
_log_fast_route('faq_cache', agent_code=agent_code, agent_id=agent_id, session_id=session_id)
|
||||
return FastRouteResult(
|
||||
generator=FaqCacheService.stream_chat(
|
||||
faq_hit,
|
||||
faq_hit.entry,
|
||||
query,
|
||||
user,
|
||||
agent,
|
||||
external_conversation_id,
|
||||
session_id=session_id,
|
||||
match=faq_hit,
|
||||
),
|
||||
route_name='faq_cache',
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user