# 智能聊天

API 参数 说明 返回值
chooseAI coding.jenny
coding.wynne
coding.jason
coding.jimmy
选择对话人物
sayToAI 对话的文字 对AI说的话 得到的对话结果 result
返回值 类型 属性
sayToAI-Res 字典 文字:text
# 示例-智能聊天
from ailib import *

chooseAI("coding.jenny")
print('请输入聊天内容:')
while True:
    _aiReply = sayToAI(input())
    print(_aiReply.get('text'))