Index

A B C D E F G I L M P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addSynonym(String) - Method in class com.chatopera.bot.sdk.models.DictWord
 

B

basePath - Static variable in class com.chatopera.bot.sdk.basics.Constants
 

C

Chatbot - Class in com.chatopera.bot.sdk
Chatopera聊天机器人
Chatbot(String, String) - Constructor for class com.chatopera.bot.sdk.Chatbot
创建聊天机器人实例,登录 https://bot.chatopera.com 获得 clientId 和 clientSecret
Chatbot(String, String, String) - Constructor for class com.chatopera.bot.sdk.Chatbot
创建聊天机器人实例,登录 https://bot.chatopera.com 获得 clientId 和 clientSecret
ChatbotException - Exception in com.chatopera.bot.exception
聊天机器人接口异常
ChatbotException(String) - Constructor for exception com.chatopera.bot.exception.ChatbotException
 
Chatopera - Class in com.chatopera.bot.sdk
Chatopera 高级管理 使用 Access Token 管理 Chatopera 机器人平台的对应账户下的资源,比如创建机器人、获得机器人列表 因为此接口可以删除不可逆的资源,需要谨慎使用。
Chatopera(String) - Constructor for class com.chatopera.bot.sdk.Chatopera
 
Chatopera(String, String) - Constructor for class com.chatopera.bot.sdk.Chatopera
 
chats(String, int, int) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
com.chatopera.bot.exception - package com.chatopera.bot.exception
 
com.chatopera.bot.sdk - package com.chatopera.bot.sdk
 
com.chatopera.bot.sdk.basics - package com.chatopera.bot.sdk.basics
 
com.chatopera.bot.sdk.models - package com.chatopera.bot.sdk.models
 
com.chatopera.bot.utils - package com.chatopera.bot.utils
 
command(String) - Static method in class com.chatopera.bot.utils.ShellUtil
运行命令
command(String, String) - Method in class com.chatopera.bot.sdk.Chatbot
核心访问接口
command(String, String) - Method in class com.chatopera.bot.sdk.Chatopera
核心访问接口
command(String, String) - Static method in class com.chatopera.bot.utils.ShellUtil
在指定路径运行命令 Returns null if it failed for some reason.
command(String, String, ArrayList<String>) - Static method in class com.chatopera.bot.utils.ShellUtil
在指定路径运行命令并返回标准输出 Returns null if it failed for some reason.
command(String, String, JSONObject) - Method in class com.chatopera.bot.sdk.Chatbot
核心访问接口
command(String, String, JSONObject) - Method in class com.chatopera.bot.sdk.Chatopera
核心访问接口
Constants - Class in com.chatopera.bot.sdk.basics
常量
Constants() - Constructor for class com.chatopera.bot.sdk.basics.Constants
 
conversation(String, String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
conversation(String, String, double, double) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
copy(String, String) - Static method in class com.chatopera.bot.utils.FileUtil
复制文件
createCustomVocabDict(String) - Method in class com.chatopera.bot.sdk.DictsMgr
创建自定义词汇表词典
createCustomVocabDict(String, String) - Method in class com.chatopera.bot.sdk.DictsMgr
创建自定义词汇表词典
Credentials - Class in com.chatopera.bot.sdk.basics
凭证管理
Credentials(String, String) - Constructor for class com.chatopera.bot.sdk.basics.Credentials
 

D

DATA_JSON_ARRAY - Static variable in class com.chatopera.bot.sdk.basics.Response
 
DATA_JSON_OBJECT - Static variable in class com.chatopera.bot.sdk.basics.Response
 
DATA_NULL - Static variable in class com.chatopera.bot.sdk.basics.Response
 
defaultBaseUrl - Static variable in class com.chatopera.bot.sdk.basics.Constants
 
delete(String, HashMap<String, String>) - Static method in class com.chatopera.bot.sdk.basics.RestAPI
 
delete(String, HashMap<String, String>, JSONObject) - Static method in class com.chatopera.bot.sdk.basics.RestAPI
 
deleteCustomDict(String) - Method in class com.chatopera.bot.sdk.DictsMgr
Remove custom dict by name
deleteCustomVocabDictWord(String, String) - Method in class com.chatopera.bot.sdk.DictsMgr
删除自定义词典词条:指定标准词
details() - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
DictsMgr - Class in com.chatopera.bot.sdk
词典管理
DictsMgr(String, String) - Constructor for class com.chatopera.bot.sdk.DictsMgr
 
DictsMgr(String, String, String) - Constructor for class com.chatopera.bot.sdk.DictsMgr
 
DictWord - Class in com.chatopera.bot.sdk.models
词汇表词典词条
DictWord() - Constructor for class com.chatopera.bot.sdk.models.DictWord
 
DictWord(String) - Constructor for class com.chatopera.bot.sdk.models.DictWord
 
DictWord(String, String) - Constructor for class com.chatopera.bot.sdk.models.DictWord
 
DictWord(String, HashSet<String>) - Constructor for class com.chatopera.bot.sdk.models.DictWord
 

E

enabled - Static variable in class com.chatopera.bot.utils.Logger
 
EnvUtil - Class in com.chatopera.bot.utils
 
EnvUtil() - Constructor for class com.chatopera.bot.utils.EnvUtil
 
exists() - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
exists(String) - Static method in class com.chatopera.bot.utils.FileUtil
指定路径是否存在

F

faq(String, String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faq(String, String, double, double) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqcategories() - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqcategorycreate(String, String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqcategorydelete(String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqcategoryupdate(String, String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqcreate(String, String, boolean, List<String>) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqdelete(String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqdetail(String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqdisable(String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqenable(String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqextend(String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqextendcreate(String, String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqextenddelete(String, String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqextendupdate(String, String, String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
faqlist(String, String, int, int) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
FAQMgr - Class in com.chatopera.bot.sdk
知识库问答管理
FAQMgr(String, String) - Constructor for class com.chatopera.bot.sdk.FAQMgr
 
FAQMgr(String, String, String) - Constructor for class com.chatopera.bot.sdk.FAQMgr
 
faqupdate(String, String, String, boolean, List<String>) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
FileNotExistException - Exception in com.chatopera.bot.exception
 
FileNotExistException(String) - Constructor for exception com.chatopera.bot.exception.FileNotExistException
 
FileNotExistException(String, Throwable) - Constructor for exception com.chatopera.bot.exception.FileNotExistException
 
FileUtil - Class in com.chatopera.bot.utils
 
FileUtil() - Constructor for class com.chatopera.bot.utils.FileUtil
 
fromJson(JSONObject) - Method in class com.chatopera.bot.sdk.models.DictWord
 

G

generate(String, String) - Method in class com.chatopera.bot.sdk.basics.Credentials
 
get(String) - Static method in class com.chatopera.bot.sdk.basics.RestAPI
 
get(String, HashMap<String, Object>) - Static method in class com.chatopera.bot.sdk.basics.RestAPI
 
get(String, HashMap<String, Object>, HashMap<String, String>) - Static method in class com.chatopera.bot.sdk.basics.RestAPI
Get
getBaseUrl() - Method in class com.chatopera.bot.sdk.Chatbot
 
getBaseUrl() - Method in class com.chatopera.bot.sdk.Chatopera
 
getChatbot() - Method in class com.chatopera.bot.sdk.DictsMgr
 
getCurrent_page() - Method in class com.chatopera.bot.sdk.basics.Response
 
getCustomDict(String) - Method in class com.chatopera.bot.sdk.DictsMgr
获得自定义词典的基本信息
getCustomDicts(int, int) - Method in class com.chatopera.bot.sdk.DictsMgr
Get Custom Vocab Dicts by page 支持分页:page 第几页,从 1 开始;limit 每页数据条数
getCustomVocabDictWord(String, String) - Method in class com.chatopera.bot.sdk.DictsMgr
返回自定义词典词条,指定词典标识和标准词
getCustomVocabDictWords(String, int, int) - Method in class com.chatopera.bot.sdk.DictsMgr
Get Custom Vocab Dictwords by page 支持分页:page 第几页,从 1 开始;limit 每页数据条数
getData() - Method in class com.chatopera.bot.sdk.basics.Response
返回Data数据
getDataType() - Method in class com.chatopera.bot.sdk.basics.Response
返回 Data 的对象类型
getEnv(String, T) - Static method in class com.chatopera.bot.utils.EnvUtil
 
getError() - Method in class com.chatopera.bot.sdk.basics.Response
 
getFaqs(int, int) - Method in class com.chatopera.bot.sdk.FAQMgr
Get QnA Pairs by page 支持分页:page 第几页,从 1 开始;limit 每页数据条数
getHostname() - Method in class com.chatopera.bot.sdk.Chatbot
 
getHostname() - Method in class com.chatopera.bot.sdk.Chatopera
 
getMsg() - Method in class com.chatopera.bot.sdk.basics.Response
 
getPort() - Method in class com.chatopera.bot.sdk.Chatbot
 
getPort() - Method in class com.chatopera.bot.sdk.Chatopera
 
getRc() - Method in class com.chatopera.bot.sdk.basics.Response
 
getReindex() - Method in class com.chatopera.bot.sdk.models.Status
 
getReindexMsg() - Method in class com.chatopera.bot.sdk.models.Status
 
getReindexUpdateAt() - Method in class com.chatopera.bot.sdk.models.Status
 
getReparse() - Method in class com.chatopera.bot.sdk.models.Status
 
getReparseMsg() - Method in class com.chatopera.bot.sdk.models.Status
 
getReparseUpdateAt() - Method in class com.chatopera.bot.sdk.models.Status
 
getRetrain() - Method in class com.chatopera.bot.sdk.models.Status
 
getRetrainMsg() - Method in class com.chatopera.bot.sdk.models.Status
 
getRetrainUpdateAt() - Method in class com.chatopera.bot.sdk.models.Status
 
getSchema() - Method in class com.chatopera.bot.sdk.Chatbot
 
getSchema() - Method in class com.chatopera.bot.sdk.Chatopera
 
getStatus() - Method in class com.chatopera.bot.sdk.basics.Response
 
getStatus() - Method in class com.chatopera.bot.sdk.TrainMgr
Get Chatbot Status
getSynonyms() - Method in class com.chatopera.bot.sdk.models.DictWord
 
getTotal() - Method in class com.chatopera.bot.sdk.basics.Response
 
getTotal_page() - Method in class com.chatopera.bot.sdk.basics.Response
 
getWord() - Method in class com.chatopera.bot.sdk.models.DictWord
 

I

intent(String, String, String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
intentsession(String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
intentsession(String, String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
isDirectory(String) - Static method in class com.chatopera.bot.utils.FileUtil
指定路径是否是文件夹
isFile(String) - Static method in class com.chatopera.bot.utils.FileUtil
指定路径是否是文件
ismute(String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10

L

ln(String, String) - Static method in class com.chatopera.bot.utils.FileUtil
创建路径软链接 https://javarevisited.blogspot.com/2011/04/symbolic-link-or-symlink-in-unix-linux.html
Logger - Class in com.chatopera.bot.utils
 
Logger() - Constructor for class com.chatopera.bot.utils.Logger
 

M

move(String, String) - Static method in class com.chatopera.bot.utils.FileUtil
移动文件
mute(String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10

P

post(String, JSONObject) - Static method in class com.chatopera.bot.sdk.basics.RestAPI
 
post(String, JSONObject, HashMap<String, Object>, HashMap<String, String>) - Static method in class com.chatopera.bot.sdk.basics.RestAPI
Post
put(String, HashMap<String, Object>, HashMap<String, String>) - Static method in class com.chatopera.bot.sdk.basics.RestAPI
 
put(String, JSONObject, HashMap<String, Object>, HashMap<String, String>) - Static method in class com.chatopera.bot.sdk.basics.RestAPI
Put
putCustomVocabDictWord(String, DictWord) - Method in class com.chatopera.bot.sdk.DictsMgr
创建或更新自定义词条词典的词条 如果存在该标准词的词条,将会使用传入的 synonyms 作为近义词进行覆盖
pwd() - Static method in class com.chatopera.bot.utils.ShellUtil
返回当前脚本执行路径
PWD - Static variable in class com.chatopera.bot.utils.ShellUtil
 

R

readlines(String) - Static method in class com.chatopera.bot.utils.FileUtil
 
readlines(String, boolean) - Static method in class com.chatopera.bot.utils.FileUtil
https://www.journaldev.com/709/java-read-file-line-by-line
remove(String) - Static method in class com.chatopera.bot.utils.FileUtil
删除指定路径
ResourceExistedException - Exception in com.chatopera.bot.exception
 
ResourceExistedException(String) - Constructor for exception com.chatopera.bot.exception.ResourceExistedException
 
ResourceExistedException(String, Throwable) - Constructor for exception com.chatopera.bot.exception.ResourceExistedException
 
ResourceInvalidException - Exception in com.chatopera.bot.exception
 
ResourceInvalidException(String) - Constructor for exception com.chatopera.bot.exception.ResourceInvalidException
 
ResourceInvalidException(String, Throwable) - Constructor for exception com.chatopera.bot.exception.ResourceInvalidException
 
ResourceNotCreatedException - Exception in com.chatopera.bot.exception
 
ResourceNotCreatedException(String) - Constructor for exception com.chatopera.bot.exception.ResourceNotCreatedException
 
ResourceNotCreatedException(String, Throwable) - Constructor for exception com.chatopera.bot.exception.ResourceNotCreatedException
 
ResourceNotExistException - Exception in com.chatopera.bot.exception
 
ResourceNotExistException(String) - Constructor for exception com.chatopera.bot.exception.ResourceNotExistException
 
ResourceNotExistException(String, Throwable) - Constructor for exception com.chatopera.bot.exception.ResourceNotExistException
 
ResourceOperationException - Exception in com.chatopera.bot.exception
 
ResourceOperationException(String) - Constructor for exception com.chatopera.bot.exception.ResourceOperationException
 
ResourceOperationException(String, Throwable) - Constructor for exception com.chatopera.bot.exception.ResourceOperationException
 
Response - Class in com.chatopera.bot.sdk.basics
 
Response() - Constructor for class com.chatopera.bot.sdk.basics.Response
 
RestAPI - Class in com.chatopera.bot.sdk.basics
RestAPI接口
RestAPI() - Constructor for class com.chatopera.bot.sdk.basics.RestAPI
 

S

setCurrent_page(int) - Method in class com.chatopera.bot.sdk.basics.Response
 
setData(T) - Method in class com.chatopera.bot.sdk.basics.Response
设置data字段
setEnabled(boolean) - Static method in class com.chatopera.bot.utils.Logger
Set log trace on or off
setError(String) - Method in class com.chatopera.bot.sdk.basics.Response
 
setMsg(String) - Method in class com.chatopera.bot.sdk.basics.Response
 
setRc(int) - Method in class com.chatopera.bot.sdk.basics.Response
 
setReindex(int) - Method in class com.chatopera.bot.sdk.models.Status
 
setReindexMsg(String) - Method in class com.chatopera.bot.sdk.models.Status
 
setReindexUpdateAt(String) - Method in class com.chatopera.bot.sdk.models.Status
 
setReparse(int) - Method in class com.chatopera.bot.sdk.models.Status
 
setReparseMsg(String) - Method in class com.chatopera.bot.sdk.models.Status
 
setReparseUpdateAt(String) - Method in class com.chatopera.bot.sdk.models.Status
 
setRetrain(int) - Method in class com.chatopera.bot.sdk.models.Status
 
setRetrainMsg(String) - Method in class com.chatopera.bot.sdk.models.Status
 
setRetrainUpdateAt(String) - Method in class com.chatopera.bot.sdk.models.Status
 
setStatus(JSONObject) - Method in class com.chatopera.bot.sdk.basics.Response
 
setSynonyms(HashSet<String>) - Method in class com.chatopera.bot.sdk.models.DictWord
 
setTotal(int) - Method in class com.chatopera.bot.sdk.basics.Response
 
setTotal_page(int) - Method in class com.chatopera.bot.sdk.basics.Response
 
setWord(String) - Method in class com.chatopera.bot.sdk.models.DictWord
 
ShellUtil - Class in com.chatopera.bot.utils
 
ShellUtil() - Constructor for class com.chatopera.bot.utils.ShellUtil
 
Status - Class in com.chatopera.bot.sdk.models
机器人状态
Status(JSONObject) - Constructor for class com.chatopera.bot.sdk.models.Status
 
stringifySynonyms() - Method in class com.chatopera.bot.sdk.models.DictWord
将近义词转化为字符串

T

toJson() - Method in class com.chatopera.bot.sdk.models.DictWord
 
toJSON() - Method in class com.chatopera.bot.sdk.basics.Response
response数据转为JSONObject
trace(String) - Static method in class com.chatopera.bot.utils.Logger
 
trainAll() - Method in class com.chatopera.bot.sdk.TrainMgr
Start in parallel, train all domains
trainConversations() - Method in class com.chatopera.bot.sdk.TrainMgr
训练多轮对话脚本
trainFAQs() - Method in class com.chatopera.bot.sdk.TrainMgr
训练知识库,该任务提交成功后,异步执行。
trainIntents() - Method in class com.chatopera.bot.sdk.TrainMgr
训练意图识别,返回提交结果,该任务提交成功后,异步执行。
TrainMgr - Class in com.chatopera.bot.sdk
训练管理
TrainMgr(String, String) - Constructor for class com.chatopera.bot.sdk.TrainMgr
 
TrainMgr(String, String, String) - Constructor for class com.chatopera.bot.sdk.TrainMgr
 

U

unmute(String) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10
users(int, int) - Method in class com.chatopera.bot.sdk.Chatbot
Deprecated.
use `Chatbot#command` API instead, removed in 2020-10

W

waitForJobsDone() - Method in class com.chatopera.bot.sdk.TrainMgr
等待训练任务结束
warn(String) - Static method in class com.chatopera.bot.utils.Logger
 
writelines(String, List<String>) - Static method in class com.chatopera.bot.utils.FileUtil
指定路径文件写入内容,覆盖以前内容
A B C D E F G I L M P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form