Преглед изворни кода

Merge branch 'zhayujie:master' into master

master
vision GitHub пре 1 година
родитељ
комит
70aac312ff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 измењених фајлова са 2 додато и 2 уклоњено
  1. +1
    -1
      README.md
  2. +1
    -1
      bot/linkai/link_ai_bot.py

+ 1
- 1
README.md Прегледај датотеку

@@ -16,7 +16,7 @@

# 演示

https://user-images.githubusercontent.com/26161723/233777277-e3b9928e-b88f-43e2-b0e0-3cbc923bc799.mp4
https://github.com/zhayujie/chatgpt-on-wechat/assets/26161723/d5154020-36e3-41db-8706-40ce9f3f1b1e

Demo made by [Visionn](https://www.wangpc.cc/)



+ 1
- 1
bot/linkai/link_ai_bot.py Прегледај датотеку

@@ -195,7 +195,7 @@ class LinkAIBot(Bot, OpenAIImage):
first_similarity = response.get("knowledge_base").get("first_similarity")
logger.info(f"[LINKAI] knowledge base, search_hit={search_hit}, first_similarity={first_similarity}")
plugin_config = pconf("linkai")
if plugin_config.get("knowledge_base") and plugin_config.get("knowledge_base").get("search_miss_text_enabled"):
if plugin_config and plugin_config.get("knowledge_base") and plugin_config.get("knowledge_base").get("search_miss_text_enabled"):
search_miss_similarity = plugin_config.get("knowledge_base").get("search_miss_similarity")
search_miss_text = plugin_config.get("knowledge_base").get("search_miss_suffix")
if not search_hit:


Loading…
Откажи
Сачувај