add search kw to hit example

This commit is contained in:
garylin2099 2024-07-29 21:29:11 +08:00
parent b8211ec86f
commit f31c257ea1

View file

@ -663,7 +663,7 @@ class KeywordExpRetriever(ExpRetriever):
return DEPLOY_EXAMPLE
elif "issue" in context.lower():
return FIX_ISSUE_EXAMPLE
elif "https:" in context.lower() or "http:" in context.lower():
elif "https:" in context.lower() or "http:" in context.lower() or "search" in context.lower():
if "search" in context.lower() or "click" in context.lower():
return WEB_SCRAPING_EXAMPLE
return WEB_SCRAPING_EXAMPLE_SIMPLE