Uses of Class
com.azure.ai.openai.assistants.models.ThreadMessage
Packages that use ThreadMessage
Package
Description
Package containing the classes for Assistants.
Package containing the data models for Assistants.
-
Uses of ThreadMessage in com.azure.ai.openai.assistants
Methods in com.azure.ai.openai.assistants that return ThreadMessageModifier and TypeMethodDescriptionAssistantsClient.createMessage
(String threadId, ThreadMessageOptions threadMessageOptions) Creates a new message on a specified thread.AssistantsClient.getMessage
(String threadId, String messageId) Gets an existing message from an existing thread.AssistantsClient.updateMessage
(String threadId, String messageId) Modifies an existing message on an existing thread.Modifies an existing message on an existing thread.Methods in com.azure.ai.openai.assistants that return types with arguments of type ThreadMessageModifier and TypeMethodDescriptionAssistantsAsyncClient.createMessage
(String threadId, ThreadMessageOptions threadMessageOptions) Creates a new message on a specified thread.AssistantsAsyncClient.getMessage
(String threadId, String messageId) Gets an existing message from an existing thread.AssistantsAsyncClient.listMessages
(String threadId) Gets a list of messages that exist on a thread.AssistantsAsyncClient.listMessages
(String threadId, Integer limit, ListSortOrder order, String after, String before) Gets a list of messages that exist on a thread.AssistantsClient.listMessages
(String threadId) Gets a list of messages that exist on a thread.AssistantsClient.listMessages
(String threadId, Integer limit, ListSortOrder order, String after, String before) Gets a list of messages that exist on a thread.AssistantsAsyncClient.updateMessage
(String threadId, String messageId) Modifies an existing message on an existing thread.Modifies an existing message on an existing thread. -
Uses of ThreadMessage in com.azure.ai.openai.assistants.models
Methods in com.azure.ai.openai.assistants.models that return ThreadMessageModifier and TypeMethodDescriptionstatic ThreadMessage
ThreadMessage.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ThreadMessage from the JsonReader.StreamMessageCreation.getMessage()
Get the data of this message sent by the service.Methods in com.azure.ai.openai.assistants.models that return types with arguments of type ThreadMessageModifier and TypeMethodDescriptionCreateRunOptions.getAdditionalMessages()
Get the additionalMessages property: Adds additional messages to the thread before creating the run.Method parameters in com.azure.ai.openai.assistants.models with type arguments of type ThreadMessageModifier and TypeMethodDescriptionCreateRunOptions.setAdditionalMessages
(List<ThreadMessage> additionalMessages) Set the additionalMessages property: Adds additional messages to the thread before creating the run.Constructors in com.azure.ai.openai.assistants.models with parameters of type ThreadMessageModifierConstructorDescriptionStreamMessageCreation
(ThreadMessage threadMessage, AssistantStreamEvent kind) Creates a new instance of StreamMessageCreation.