Class Threads
java.lang.Object
com.alibaba.dashscope.legacy_2x.threads.Threads
Deprecated.
The threads API is deprecated and will be removed in a future version. Please use the
Responses API instead. See Responses API
documentation
-
Constructor Summary
ConstructorsConstructorDescriptionThreads()Deprecated.Threads(String baseUrl, ConnectionOptions connectionOptions) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncreate(ThreadParam param) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.update(String threadId, UpdateMetadataParam param) Deprecated.
-
Constructor Details
-
Threads
public Threads()Deprecated. -
Threads
Deprecated.
-
-
Method Details
-
create
Deprecated.- Throws:
ApiExceptionNoApiKeyException
-
update
public AssistantThread update(String threadId, UpdateMetadataParam param) throws ApiException, NoApiKeyException, InputRequiredException Deprecated. -
retrieve
Deprecated.- Throws:
ApiExceptionNoApiKeyException
-
retrieve
public AssistantThread retrieve(String threadId, String apiKey) throws ApiException, NoApiKeyException Deprecated.- Throws:
ApiExceptionNoApiKeyException
-
delete
Deprecated.- Throws:
ApiExceptionNoApiKeyException
-
delete
Deprecated.- Throws:
ApiExceptionNoApiKeyException
-