feat: user session cache

This commit is contained in:
zhayujie
2022-12-10 16:46:12 +08:00
parent 5581afaa0d
commit b17f49f96b
6 changed files with 39 additions and 22 deletions

View File

@@ -5,5 +5,5 @@ class Bridge(object):
def __init__(self):
pass
def fetch_reply_content(self, query):
return bot_factory.create_bot("chatGPT").reply(query)
def fetch_reply_content(self, query, context):
return bot_factory.create_bot("chatGPT").reply(query, context)