public class BatchTextEmbedding extends Object
| 限定符和类型 | 类和说明 |
|---|---|
class |
BatchTextEmbedding.Models |
| 构造器和说明 |
|---|
BatchTextEmbedding() |
BatchTextEmbedding(String baseUrl) |
| 限定符和类型 | 方法和说明 |
|---|---|
BatchTextEmbeddingResult |
asyncCall(BatchTextEmbeddingParam param) |
BatchTextEmbeddingResult |
call(BatchTextEmbeddingParam param)
Call the server and wait for the task finished.
|
BatchTextEmbeddingResult |
cancel(BatchTextEmbeddingResult taskInfo,
String apiKey) |
BatchTextEmbeddingResult |
cancel(String taskId,
String apiKey) |
BatchTextEmbeddingResult |
fetch(BatchTextEmbeddingResult taskInfo,
String apiKey) |
BatchTextEmbeddingResult |
fetch(String taskId,
String apiKey) |
AsyncTaskListResult |
list(AsyncTaskListParam param) |
AsyncTaskListResult |
list(String startTime,
String endTime,
String modelName,
String apiKeyId,
String region,
String status,
Integer pageNo,
Integer pageSize) |
BatchTextEmbeddingResult |
wait(BatchTextEmbeddingResult taskInfo,
String apiKey) |
BatchTextEmbeddingResult |
wait(String taskId,
String apiKey) |
public BatchTextEmbedding()
public BatchTextEmbedding(String baseUrl)
public BatchTextEmbeddingResult call(BatchTextEmbeddingParam param) throws ApiException, NoApiKeyException
param - The input param of class `AsyncTextEmbeddingParam`.NoApiKeyException - Can not find api keyApiException - The request failed, possibly due to a network or data error.public BatchTextEmbeddingResult asyncCall(BatchTextEmbeddingParam param) throws ApiException, NoApiKeyException
param - The async embedding request parameter, class `AsyncTextEmbeddingParam`NoApiKeyException - Can not find api keyApiException - The request failed, possibly due to a network or data error.public AsyncTaskListResult list(AsyncTaskListParam param) throws ApiException, NoApiKeyException
public AsyncTaskListResult list(String startTime, String endTime, String modelName, String apiKeyId, String region, String status, Integer pageNo, Integer pageSize) throws ApiException, NoApiKeyException
public BatchTextEmbeddingResult fetch(String taskId, String apiKey) throws ApiException, NoApiKeyException
public BatchTextEmbeddingResult fetch(BatchTextEmbeddingResult taskInfo, String apiKey) throws ApiException, NoApiKeyException
public BatchTextEmbeddingResult cancel(String taskId, String apiKey) throws ApiException, NoApiKeyException
public BatchTextEmbeddingResult cancel(BatchTextEmbeddingResult taskInfo, String apiKey) throws ApiException, NoApiKeyException
public BatchTextEmbeddingResult wait(String taskId, String apiKey) throws ApiException, NoApiKeyException
public BatchTextEmbeddingResult wait(BatchTextEmbeddingResult taskInfo, String apiKey) throws ApiException, NoApiKeyException
Copyright © 2024. All rights reserved.