public class AIParserConfig extends Object
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
Modifier and Type | Field and Description |
---|---|
protected String |
ak
api密钥
|
protected okhttp3.OkHttpClient |
client
http客户端
|
protected String |
imageModel
图像模型
|
protected String |
imageSystemPrompt
图像系统提示词
|
protected String |
imageUrl
图像接口地址
|
protected boolean |
isJsonResponse
是否json响应
|
protected String |
sk
密钥
|
protected String |
textModel
文本模型
|
protected String |
textSystemPrompt
文本系统提示词
|
protected String |
textUrl
文本接口地址
|
Constructor and Description |
---|
AIParserConfig(String ak,
String sk,
String imageSystemPrompt,
String textSystemPrompt,
boolean isJsonResponse,
okhttp3.OkHttpClient client)
有参构造
|
protected String ak
protected String sk
protected String imageUrl
protected String imageModel
protected String imageSystemPrompt
protected String textUrl
protected String textModel
protected String textSystemPrompt
protected boolean isJsonResponse
protected okhttp3.OkHttpClient client
Copyright © 2025. All rights reserved.