Class Assistants
java.lang.Object
com.alibaba.dashscope.legacy_2x.assistants.Assistants
Deprecated.
The Assistants API (com.alibaba.dashscope.assistants) is deprecated and will be
removed in a future release. Please migrate to the Responses API. See
https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Assistants(String baseUrl, ConnectionOptions connectionOptions) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncreate(AssistantParam param) Deprecated.The Assistants API is deprecated and will be removed in a future release.createFile(String assistantId, AssistantFileParam param) Deprecated.The Assistants API is deprecated and will be removed in a future release.Deprecated.The Assistants API is deprecated and will be removed in a future release.Deprecated.The Assistants API is deprecated and will be removed in a future release.Deprecated.The Assistants API is deprecated and will be removed in a future release.list(GeneralListParam listParam) Deprecated.The Assistants API is deprecated and will be removed in a future release.listFiles(String assistantId, GeneralListParam listParam) Deprecated.The Assistants API is deprecated and will be removed in a future release.Deprecated.The Assistants API is deprecated and will be removed in a future release.Deprecated.The Assistants API is deprecated and will be removed in a future release.Deprecated.The Assistants API is deprecated and will be removed in a future release.retrieveFile(String assistantId, String fileId) Deprecated.The Assistants API is deprecated and will be removed in a future release.retrieveFile(String assistantId, String fileId, String apiKey) Deprecated.The Assistants API is deprecated and will be removed in a future release.Deprecated.The Assistants API is deprecated and will be removed in a future release.update(String assistantId, AssistantParam param) Deprecated.The Assistants API is deprecated and will be removed in a future release.
-
Constructor Details
-
Assistants
public Assistants()Deprecated. -
Assistants
Deprecated.
-
-
Method Details
-
create
Deprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details.- Throws:
ApiExceptionNoApiKeyException
-
update
@Deprecated public Assistant update(String assistantId, AssistantParam param) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details. -
list
@Deprecated public ListResult<Assistant> list(GeneralListParam listParam) throws ApiException, NoApiKeyException Deprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details.- Throws:
ApiExceptionNoApiKeyException
-
retrieve
@Deprecated public Assistant retrieve(String assistantId) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details. -
retrieve
@Deprecated public Assistant retrieve(String assistantId, String apiKey) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details. -
retrieve
@Deprecated public Assistant retrieve(String assistantId, String apiKey, Map<String, String> headers) throws ApiException, NoApiKeyException, InputRequiredExceptionDeprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details. -
delete
@Deprecated public DeletionStatus delete(String assistantId) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details. -
delete
@Deprecated public DeletionStatus delete(String assistantId, String apiKey) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details. -
delete
@Deprecated public DeletionStatus delete(String assistantId, String apiKey, Map<String, String> headers) throws ApiException, NoApiKeyException, InputRequiredExceptionDeprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details. -
createFile
@Deprecated public AssistantFile createFile(String assistantId, AssistantFileParam param) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details. -
listFiles
@Deprecated public ListResult<AssistantFile> listFiles(String assistantId, GeneralListParam listParam) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details. -
retrieveFile
@Deprecated public AssistantFile retrieveFile(String assistantId, String fileId) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details. -
retrieveFile
@Deprecated public AssistantFile retrieveFile(String assistantId, String fileId, String apiKey) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details. -
retrieveFile
@Deprecated public AssistantFile retrieveFile(String assistantId, String fileId, String apiKey, Map<String, String> headers) throws ApiException, NoApiKeyException, InputRequiredExceptionDeprecated.The Assistants API is deprecated and will be removed in a future release. Please migrate to the Responses API. See https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference for migration details.
-