Simple dialogue test Turing robot.
Project description
TuringRobots
What?
Simple dialogue test Turing robot.
Install
pip install TuringRobots
Usage/Example
from TuringRobots import TuringRobots
while True:
userinput = input(":>>>")
if userinput == "0":
break
else:
code, content = TuringRobots(userinput, over_print=False)
print("回答:", content)
Exception return code
5000 | 无解析结果 |
---|---|
6000 | 暂不支持该功能 |
4000 | 请求参数格式错误 |
4001 | 加密方式错误 |
4002 | 无功能权限 |
4003 | 该apikey没有可用请求次数 |
4005 | 无功能权限 |
4007 | apikey不合法 |
4100 | userid获取失败 |
4200 | 上传格式错误 |
4300 | 批量操作超过限制 |
4400 | 没有上传合法 userid |
4500 | userid申请个数超过限制 |
4600 | 输入内容为空 |
4602 | 输入文本内容超长(上限150) |
7002 | 上传信息失败 |
8008 | 服务器错误 |
0 | 上传成功 |
ChangeLog
- Put forward the idea of「提出想法」:June 18, 2022「2022年06月18日」
- Starting date「首发日期」:June 20, 2022「2022年06月20日」
Error
失效请提交 issue。
Invalid please submit issue.
AI悦创·推出辅导班啦,包括「Python 语言辅导班、C++ 辅导班、java 辅导班、算法/数据结构辅导班、少儿编程、pygame 游戏开发」,全部都是一对一教学:一对一辅导 + 一对一答疑 + 布置作业 + 项目实践等。当然,还有线下线上摄影课程、Photoshop、Premiere 一对一教学、QQ、微信在线,随时响应!微信:Jiabcdefh
C++ 信息奥赛题解,长期更新!长期招收一对一中小学信息奥赛集训,莆田、厦门地区有机会线下上门,其他地区线上。微信:Jiabcdefh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
TuringRobots-1.2.12.tar.gz
(6.1 kB
view details)
Built Distribution
File details
Details for the file TuringRobots-1.2.12.tar.gz
.
File metadata
- Download URL: TuringRobots-1.2.12.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf02802766ad046b7488bc49ee0cb99041a07c260a38c5bf45f6407f61eda85c |
|
MD5 | 477a302c81339b2d9ab0ab4cd380f52a |
|
BLAKE2b-256 | d97e07db6962e572170672def15ad2391d082aaf205eba2ab6944b9b9e0df6f8 |
File details
Details for the file TuringRobots-1.2.12-py3-none-any.whl
.
File metadata
- Download URL: TuringRobots-1.2.12-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f95af9edc4514b12e5b957c752cd2644d7d062759c155537cee01293b4444fd2 |
|
MD5 | 51290a232862cb23e5f74c5fce1906ea |
|
BLAKE2b-256 | dacdad42cc0c741af6aa848bf6095c8c0cbd97ae9f4cd314793419c8e5e01aa6 |