public class Client
extends com.aliyun.teaopenapi.Client
_ca, _cert, _connectTimeout, _credential, _disableHttp2, _endpoint, _endpointMap, _endpointRule, _endpointType, _globalParameters, _headers, _httpProxy, _httpsProxy, _key, _maxIdleConns, _method, _network, _noProxy, _openPlatformEndpoint, _productId, _protocol, _readTimeout, _regionId, _signatureAlgorithm, _signatureVersion, _socks5NetWork, _socks5Proxy, _spi, _suffix, _userAgent
构造器和说明 |
---|
Client(com.aliyun.teaopenapi.models.Config config) |
限定符和类型 | 方法和说明 |
---|---|
AddCategoryResponse |
addCategory(String WorkspaceId,
AddCategoryRequest request) |
AddCategoryResponse |
addCategoryWithOptions(String WorkspaceId,
AddCategoryRequest request,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime) |
AddFileResponse |
addFile(String WorkspaceId,
AddFileRequest request)
summary :
将临时上传的文档导入百炼数据中心,导入成功之后会自动触发文档解析。
|
AddFileResponse |
addFileWithOptions(String WorkspaceId,
AddFileRequest request,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
将临时上传的文档导入百炼数据中心,导入成功之后会自动触发文档解析。
|
ApplyFileUploadLeaseResponse |
applyFileUploadLease(String CategoryId,
String WorkspaceId,
ApplyFileUploadLeaseRequest request)
summary :
请求文档上传租约,进行文档上传。
|
ApplyFileUploadLeaseResponse |
applyFileUploadLeaseWithOptions(String CategoryId,
String WorkspaceId,
ApplyFileUploadLeaseRequest request,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
请求文档上传租约,进行文档上传。
|
CreateIndexResponse |
createIndex(String WorkspaceId,
CreateIndexRequest request)
summary :
创建并运行pipeline
|
CreateIndexResponse |
createIndexWithOptions(String WorkspaceId,
CreateIndexRequest tmpReq,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
创建并运行pipeline
|
DeleteCategoryResponse |
deleteCategory(String CategoryId,
String WorkspaceId) |
DeleteCategoryResponse |
deleteCategoryWithOptions(String CategoryId,
String WorkspaceId,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime) |
DeleteFileResponse |
deleteFile(String FileId,
String WorkspaceId)
summary :
删除文档
|
DeleteFileResponse |
deleteFileWithOptions(String FileId,
String WorkspaceId,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
删除文档
|
DeleteIndexResponse |
deleteIndex(String WorkspaceId,
DeleteIndexRequest request)
summary :
删除Index
|
DeleteIndexDocumentResponse |
deleteIndexDocument(String WorkspaceId,
DeleteIndexDocumentRequest request)
summary :
删除index doc
|
DeleteIndexDocumentResponse |
deleteIndexDocumentWithOptions(String WorkspaceId,
DeleteIndexDocumentRequest tmpReq,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
删除index doc
|
DeleteIndexResponse |
deleteIndexWithOptions(String WorkspaceId,
DeleteIndexRequest request,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
删除Index
|
DescribeFileResponse |
describeFile(String WorkspaceId,
String FileId)
summary :
获取文档基本信息,包括文档名称、类型、状态等。
|
DescribeFileResponse |
describeFileWithOptions(String WorkspaceId,
String FileId,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
获取文档基本信息,包括文档名称、类型、状态等。
|
String |
getEndpoint(String productId,
String regionId,
String endpointRule,
String network,
String suffix,
Map<String,String> endpointMap,
String endpoint) |
GetIndexJobStatusResponse |
getIndexJobStatus(String WorkspaceId,
GetIndexJobStatusRequest request)
summary :
获取Index运行状态
|
GetIndexJobStatusResponse |
getIndexJobStatusWithOptions(String WorkspaceId,
GetIndexJobStatusRequest request,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
获取Index运行状态
|
ListCategoryResponse |
listCategory(String WorkspaceId,
ListCategoryRequest request)
summary :
ListCategory
|
ListCategoryResponse |
listCategoryWithOptions(String WorkspaceId,
ListCategoryRequest request,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
ListCategory
|
ListChunksResponse |
listChunks(String WorkspaceId,
ListChunksRequest request)
summary :
Chunk
|
ListChunksResponse |
listChunksWithOptions(String WorkspaceId,
ListChunksRequest request,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
Chunk
|
ListIndexDocumentsResponse |
listIndexDocuments(String WorkspaceId,
ListIndexDocumentsRequest request)
summary :
查询Index文件
|
ListIndexDocumentsResponse |
listIndexDocumentsWithOptions(String WorkspaceId,
ListIndexDocumentsRequest request,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
查询Index文件
|
ListIndicesResponse |
listIndices(String WorkspaceId,
ListIndicesRequest request)
summary :
查询pipeline
|
ListIndicesResponse |
listIndicesWithOptions(String WorkspaceId,
ListIndicesRequest request,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
查询pipeline
|
RetrieveResponse |
retrieve(String WorkspaceId,
RetrieveRequest request)
summary :
召回测试
|
RetrieveResponse |
retrieveWithOptions(String WorkspaceId,
RetrieveRequest tmpReq,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
召回测试
|
SubmitIndexAddDocumentsJobResponse |
submitIndexAddDocumentsJob(String WorkspaceId,
SubmitIndexAddDocumentsJobRequest request)
summary :
知识索引
|
SubmitIndexAddDocumentsJobResponse |
submitIndexAddDocumentsJobWithOptions(String WorkspaceId,
SubmitIndexAddDocumentsJobRequest tmpReq,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
知识索引
|
SubmitIndexJobResponse |
submitIndexJob(String WorkspaceId,
SubmitIndexJobRequest request)
summary :
提交索引任务
|
SubmitIndexJobResponse |
submitIndexJobWithOptions(String WorkspaceId,
SubmitIndexJobRequest request,
Map<String,String> headers,
com.aliyun.teautil.models.RuntimeOptions runtime)
summary :
提交索引任务
|
addRequestInterceptor, addResponseInterceptor, addRuntimeOptionsInterceptor, callApi, checkConfig, defaultAny, doRequest, doROARequest, doROARequestWithForm, doRPCRequest, execute, getAccessKeyId, getAccessKeySecret, getBearerToken, getRpcHeaders, getSecurityToken, getType, getUserAgent, setGatewayClient, setRpcHeaders
public String getEndpoint(String productId, String regionId, String endpointRule, String network, String suffix, Map<String,String> endpointMap, String endpoint) throws Exception
Exception
public AddCategoryResponse addCategoryWithOptions(String WorkspaceId, AddCategoryRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
request
- AddCategoryRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public AddCategoryResponse addCategory(String WorkspaceId, AddCategoryRequest request) throws Exception
request
- AddCategoryRequestException
public AddFileResponse addFileWithOptions(String WorkspaceId, AddFileRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
将临时上传的文档导入百炼数据中心,导入成功之后会自动触发文档解析。
request
- AddFileRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public AddFileResponse addFile(String WorkspaceId, AddFileRequest request) throws Exception
将临时上传的文档导入百炼数据中心,导入成功之后会自动触发文档解析。
request
- AddFileRequestException
public ApplyFileUploadLeaseResponse applyFileUploadLeaseWithOptions(String CategoryId, String WorkspaceId, ApplyFileUploadLeaseRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
请求文档上传租约,进行文档上传。
request
- ApplyFileUploadLeaseRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public ApplyFileUploadLeaseResponse applyFileUploadLease(String CategoryId, String WorkspaceId, ApplyFileUploadLeaseRequest request) throws Exception
请求文档上传租约,进行文档上传。
request
- ApplyFileUploadLeaseRequestException
public CreateIndexResponse createIndexWithOptions(String WorkspaceId, CreateIndexRequest tmpReq, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
创建并运行pipeline
tmpReq
- CreateIndexRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public CreateIndexResponse createIndex(String WorkspaceId, CreateIndexRequest request) throws Exception
创建并运行pipeline
request
- CreateIndexRequestException
public DeleteCategoryResponse deleteCategoryWithOptions(String CategoryId, String WorkspaceId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
headers
- mapruntime
- runtime options for this request RuntimeOptionsException
public DeleteCategoryResponse deleteCategory(String CategoryId, String WorkspaceId) throws Exception
Exception
public DeleteFileResponse deleteFileWithOptions(String FileId, String WorkspaceId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
删除文档
headers
- mapruntime
- runtime options for this request RuntimeOptionsException
public DeleteFileResponse deleteFile(String FileId, String WorkspaceId) throws Exception
删除文档
Exception
public DeleteIndexResponse deleteIndexWithOptions(String WorkspaceId, DeleteIndexRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
删除Index
request
- DeleteIndexRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public DeleteIndexResponse deleteIndex(String WorkspaceId, DeleteIndexRequest request) throws Exception
删除Index
request
- DeleteIndexRequestException
public DeleteIndexDocumentResponse deleteIndexDocumentWithOptions(String WorkspaceId, DeleteIndexDocumentRequest tmpReq, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
删除index doc
tmpReq
- DeleteIndexDocumentRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public DeleteIndexDocumentResponse deleteIndexDocument(String WorkspaceId, DeleteIndexDocumentRequest request) throws Exception
删除index doc
request
- DeleteIndexDocumentRequestException
public DescribeFileResponse describeFileWithOptions(String WorkspaceId, String FileId, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
获取文档基本信息,包括文档名称、类型、状态等。
headers
- mapruntime
- runtime options for this request RuntimeOptionsException
public DescribeFileResponse describeFile(String WorkspaceId, String FileId) throws Exception
获取文档基本信息,包括文档名称、类型、状态等。
Exception
public GetIndexJobStatusResponse getIndexJobStatusWithOptions(String WorkspaceId, GetIndexJobStatusRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
获取Index运行状态
request
- GetIndexJobStatusRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public GetIndexJobStatusResponse getIndexJobStatus(String WorkspaceId, GetIndexJobStatusRequest request) throws Exception
获取Index运行状态
request
- GetIndexJobStatusRequestException
public ListCategoryResponse listCategoryWithOptions(String WorkspaceId, ListCategoryRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
ListCategory
request
- ListCategoryRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public ListCategoryResponse listCategory(String WorkspaceId, ListCategoryRequest request) throws Exception
ListCategory
request
- ListCategoryRequestException
public ListChunksResponse listChunksWithOptions(String WorkspaceId, ListChunksRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Chunk
request
- ListChunksRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public ListChunksResponse listChunks(String WorkspaceId, ListChunksRequest request) throws Exception
Chunk
request
- ListChunksRequestException
public ListIndexDocumentsResponse listIndexDocumentsWithOptions(String WorkspaceId, ListIndexDocumentsRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询Index文件
request
- ListIndexDocumentsRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public ListIndexDocumentsResponse listIndexDocuments(String WorkspaceId, ListIndexDocumentsRequest request) throws Exception
查询Index文件
request
- ListIndexDocumentsRequestException
public ListIndicesResponse listIndicesWithOptions(String WorkspaceId, ListIndicesRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
查询pipeline
request
- ListIndicesRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public ListIndicesResponse listIndices(String WorkspaceId, ListIndicesRequest request) throws Exception
查询pipeline
request
- ListIndicesRequestException
public RetrieveResponse retrieveWithOptions(String WorkspaceId, RetrieveRequest tmpReq, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
召回测试
tmpReq
- RetrieveRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public RetrieveResponse retrieve(String WorkspaceId, RetrieveRequest request) throws Exception
召回测试
request
- RetrieveRequestException
public SubmitIndexAddDocumentsJobResponse submitIndexAddDocumentsJobWithOptions(String WorkspaceId, SubmitIndexAddDocumentsJobRequest tmpReq, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
知识索引
tmpReq
- SubmitIndexAddDocumentsJobRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public SubmitIndexAddDocumentsJobResponse submitIndexAddDocumentsJob(String WorkspaceId, SubmitIndexAddDocumentsJobRequest request) throws Exception
知识索引
request
- SubmitIndexAddDocumentsJobRequestException
public SubmitIndexJobResponse submitIndexJobWithOptions(String WorkspaceId, SubmitIndexJobRequest request, Map<String,String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
提交索引任务
request
- SubmitIndexJobRequestheaders
- mapruntime
- runtime options for this request RuntimeOptionsException
public SubmitIndexJobResponse submitIndexJob(String WorkspaceId, SubmitIndexJobRequest request) throws Exception
提交索引任务
request
- SubmitIndexJobRequestException
Copyright © 2024. All rights reserved.