mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-19 21:38:18 +08:00
feat: bring in openai completion api
This commit is contained in:
@@ -4,6 +4,7 @@ import requests
|
||||
from bot.bot import Bot
|
||||
|
||||
|
||||
# Baidu Unit对话接口 (可用, 但能力较弱)
|
||||
class BaiduUnitBot(Bot):
|
||||
def reply(self, query, context=None):
|
||||
token = self.get_token()
|
||||
|
||||
Reference in New Issue
Block a user