Uses of Class
com.azure.ai.agents.persistent.models.ThreadMessageOptions
Packages that use ThreadMessageOptions
Package
Description
Package containing the classes for Agents.
Package containing the data models for Agents.
-
Uses of ThreadMessageOptions in com.azure.ai.agents.persistent
Method parameters in com.azure.ai.agents.persistent with type arguments of type ThreadMessageOptionsModifier and TypeMethodDescriptionThreadsAsyncClient.createThread(List<ThreadMessageOptions> messages, ToolResources toolResources, Map<String, String> metadata) Creates a new thread.ThreadsClient.createThread(List<ThreadMessageOptions> messages, ToolResources toolResources, Map<String, String> metadata) Creates a new thread. -
Uses of ThreadMessageOptions in com.azure.ai.agents.persistent.models
Methods in com.azure.ai.agents.persistent.models that return ThreadMessageOptionsModifier and TypeMethodDescriptionstatic ThreadMessageOptionsThreadMessageOptions.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.agents.persistent.models that return types with arguments of type ThreadMessageOptionsModifier and TypeMethodDescriptionCreateRunOptions.getAdditionalMessages()Get the additionalMessages property: Adds additional messages to the thread before creating the run.PersistentAgentThreadCreationOptions.getMessages()Get the messages property: The initial messages to associate with the new thread.Method parameters in com.azure.ai.agents.persistent.models with type arguments of type ThreadMessageOptionsModifier and TypeMethodDescriptionCreateRunOptions.setAdditionalMessages(List<ThreadMessageOptions> additionalMessages) Set the additionalMessages property: Adds additional messages to the thread before creating the run.PersistentAgentThreadCreationOptions.setMessages(List<ThreadMessageOptions> messages) Set the messages property: The initial messages to associate with the new thread.