Uses of Class
com.azure.ai.openai.assistants.models.ThreadMessageOptions
Packages that use ThreadMessageOptions
Package
Description
Package containing the classes for Assistants.
Package containing the data models for Assistants.
-
Uses of ThreadMessageOptions in com.azure.ai.openai.assistants
Methods in com.azure.ai.openai.assistants with parameters of type ThreadMessageOptionsModifier and TypeMethodDescriptionAssistantsAsyncClient.createMessage
(String threadId, ThreadMessageOptions threadMessageOptions) Creates a new message on a specified thread.AssistantsClient.createMessage
(String threadId, ThreadMessageOptions threadMessageOptions) Creates a new message on a specified thread. -
Uses of ThreadMessageOptions in com.azure.ai.openai.assistants.models
Methods in com.azure.ai.openai.assistants.models that return ThreadMessageOptionsModifier and TypeMethodDescriptionstatic ThreadMessageOptions
ThreadMessageOptions.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ThreadMessageOptions from the JsonReader.ThreadMessageOptions.setAttachments
(List<MessageAttachment> attachments) Set the attachments property: A list of files attached to the message, and the tools they should be added to.ThreadMessageOptions.setMetadata
(Map<String, String> metadata) Set the metadata property: A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format.Methods in com.azure.ai.openai.assistants.models that return types with arguments of type ThreadMessageOptionsModifier and TypeMethodDescriptionAssistantThreadCreationOptions.getMessages()
Get the messages property: The initial messages to associate with the new thread.Method parameters in com.azure.ai.openai.assistants.models with type arguments of type ThreadMessageOptionsModifier and TypeMethodDescriptionAssistantThreadCreationOptions.setMessages
(List<ThreadMessageOptions> messages) Set the messages property: The initial messages to associate with the new thread.