Uses of Class
com.azure.ai.openai.assistants.models.AssistantThreadCreationOptions
Packages that use AssistantThreadCreationOptions
Package
Description
Package containing the classes for Assistants.
Package containing the data models for Assistants.
-
Uses of AssistantThreadCreationOptions in com.azure.ai.openai.assistants
Methods in com.azure.ai.openai.assistants with parameters of type AssistantThreadCreationOptionsModifier and TypeMethodDescriptionAssistantsAsyncClient.createThread
(AssistantThreadCreationOptions assistantThreadCreationOptions) Creates a new thread.AssistantsClient.createThread
(AssistantThreadCreationOptions assistantThreadCreationOptions) Creates a new thread. -
Uses of AssistantThreadCreationOptions in com.azure.ai.openai.assistants.models
Methods in com.azure.ai.openai.assistants.models that return AssistantThreadCreationOptionsModifier and TypeMethodDescriptionAssistantThreadCreationOptions.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AssistantThreadCreationOptions from the JsonReader.CreateAndRunThreadOptions.getThread()
Get the thread property: The details used to create the new thread.AssistantThreadCreationOptions.setMessages
(List<ThreadMessageOptions> messages) Set the messages property: The initial messages to associate with the new thread.AssistantThreadCreationOptions.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.AssistantThreadCreationOptions.setToolResources
(CreateToolResourcesOptions toolResources) Set the toolResources property: A set of resources that are made available to the assistant's tools in this thread.Methods in com.azure.ai.openai.assistants.models with parameters of type AssistantThreadCreationOptionsModifier and TypeMethodDescriptionCreateAndRunThreadOptions.setThread
(AssistantThreadCreationOptions thread) Set the thread property: The details used to create the new thread.