Uses of Class
com.azure.ai.agents.persistent.models.MessageAttachment
Packages that use MessageAttachment
Package
Description
Package containing the classes for Agents.
Package containing the data models for Agents.
-
Uses of MessageAttachment in com.azure.ai.agents.persistent
Method parameters in com.azure.ai.agents.persistent with type arguments of type MessageAttachmentModifier and TypeMethodDescriptionMessagesAsyncClient.createMessage(String threadId, MessageRole role, com.azure.core.util.BinaryData content, List<MessageAttachment> attachments, Map<String, String> metadata) Creates a new message on a specified thread.MessagesAsyncClient.createMessage(String threadId, MessageRole role, String content, List<MessageAttachment> attachments, Map<String, String> metadata) Creates a new message on a specified thread.MessagesClient.createMessage(String threadId, MessageRole role, com.azure.core.util.BinaryData content, List<MessageAttachment> attachments, Map<String, String> metadata) Creates a new message on a specified thread.MessagesClient.createMessage(String threadId, MessageRole role, String content, List<MessageAttachment> attachments, Map<String, String> metadata) Creates a new message on a specified thread. -
Uses of MessageAttachment in com.azure.ai.agents.persistent.models
Methods in com.azure.ai.agents.persistent.models that return MessageAttachmentModifier and TypeMethodDescriptionstatic MessageAttachmentMessageAttachment.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of MessageAttachment from the JsonReader.MessageAttachment.setDataSource(VectorStoreDataSource dataSource) Set the dataSource property: Azure asset ID.Set the fileId property: The ID of the file to attach to the message.Methods in com.azure.ai.agents.persistent.models that return types with arguments of type MessageAttachmentModifier and TypeMethodDescriptionThreadMessage.getAttachments()Get the attachments property: A list of files attached to the message, and the tools they were added to.ThreadMessageOptions.getAttachments()Get the attachments property: A list of files attached to the message, and the tools they should be added to.Method parameters in com.azure.ai.agents.persistent.models with type arguments of type MessageAttachmentModifier and TypeMethodDescriptionThreadMessageOptions.setAttachments(List<MessageAttachment> attachments) Set the attachments property: A list of files attached to the message, and the tools they should be added to.