| | |
| | | //是否是B端账号登录(true=B端) |
| | | private boolean isB_account; |
| | | //是否正式服务器(true:正式,false:测试) |
| | | private boolean isOnlineServer = true; |
| | | private boolean isOnlineServer = false; |
| | | |
| | | //智能体接口密钥 |
| | | private String agentSecret; |
| | | //智能体接口地址 |
| | | private String agentUrl; |
| | | //当前会话ID |
| | | private String conversationId; |
| | | |
| | | public String getAgentUrl() { |
| | | return agentUrl == null ? "" : agentUrl; |
| | | } |
| | | |
| | | public void setAgentUrl(String agentUrl) { |
| | | this.agentUrl = agentUrl; |
| | | } |
| | | |
| | | /** |
| | | * 智能体AppKey |
| | | * |
| | | * @return 智能体AppKey |
| | | */ |
| | | public String getAgentSecret() { |
| | | return agentSecret == null ? "" : agentSecret; |
| | | } |
| | | |
| | | public void setAgentSecret(String agentApiKey) { |
| | | this.agentSecret = agentApiKey; |
| | | } |
| | | |
| | | public String getConversationId() { |
| | | return conversationId == null ? "" : conversationId; |
| | | } |
| | | |
| | | public void setConversationId(String conversationId) { |
| | | this.conversationId = conversationId; |
| | | } |
| | | |
| | | public boolean isOnlineServer() { |
| | | return isOnlineServer; |
| | |
| | | |
| | | /** |
| | | * 是不是阿拉伯语言 |
| | | * |
| | | * @return true表示是阿拉伯语言,否则不是 |
| | | */ |
| | | public boolean isArabicLanguage() { |