オープンソースプロジェクトhttps://github.com/acheong08/Bard
コードのデバッグ
忘れずにグローバルにオンにするか、コードに追加してください
os.environ["http_proxy"] = "http://127.0.0.1:1080"
os.environ["https_proxy"] = "http://127.0.0.1:1080"
from os import environ
from Bard import Chatbot
import os
os.environ["http_proxy"] = "http://127.0.0.1:1080"
os.environ["https_proxy"] = "http://127.0.0.1:1080"
Secure_1PSID = "YwgLWWJq6baq***********************************KwOVFFlgv1wg."
Secure_1PSIDTS = "sidts-CjIBPu3jIWg**********************dayafncVxAA"
print(Secure_1PSID,Secure_1PSIDTS)
chatbot = Chatbot(Secure_1PSID, Secure_1PSIDTS)
print(chatbot.ask("你的模型?"))
wxbot の接続方法: WeChat ロボット インターフェースのドキュメント