mirror of
https://github.com/zhayujie/bot-on-anything.git
synced 2026-02-03 08:27:32 +08:00
10 lines
260 B
Python
10 lines
260 B
Python
from model import model_factory
|
|
import config
|
|
|
|
class Bridge(object):
|
|
def __init__(self):
|
|
pass
|
|
|
|
def fetch_reply_content(self, query, context):
|
|
return model_factory.create_bot(config.conf().get("model").get("type")).reply(query, context)
|