Uses of Class
com.azure.ai.openai.assistants.models.ToolDefinition
Packages that use ToolDefinition
Package
Description
Package containing the data models for Assistants.
-
Uses of ToolDefinition in com.azure.ai.openai.assistants.models
Subclasses of ToolDefinition in com.azure.ai.openai.assistants.modelsModifier and TypeClassDescriptionfinal class
The input definition information for a code interpreter tool as used to configure an assistant.final class
The input definition information for a file search tool as used to configure an assistant.final class
The input definition information for a function tool as used to configure an assistant.Methods in com.azure.ai.openai.assistants.models that return ToolDefinitionModifier and TypeMethodDescriptionstatic ToolDefinition
ToolDefinition.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ToolDefinition from the JsonReader.Methods in com.azure.ai.openai.assistants.models that return types with arguments of type ToolDefinitionModifier and TypeMethodDescriptionAssistant.getTools()
Get the tools property: The collection of tools enabled for the assistant.AssistantCreationOptions.getTools()
Get the tools property: The collection of tools to enable for the new assistant.CreateAndRunThreadOptions.getTools()
Get the tools property: The overridden list of enabled tools the assistant should use to run the thread.CreateRunOptions.getTools()
Get the tools property: The overridden list of enabled tools that the assistant should use to run the thread.ThreadRun.getTools()
Get the tools property: The overridden enabled tools used for this assistant thread run.UpdateAssistantOptions.getTools()
Get the tools property: The modified collection of tools to enable for the assistant.Method parameters in com.azure.ai.openai.assistants.models with type arguments of type ToolDefinitionModifier and TypeMethodDescriptionAssistantCreationOptions.setTools
(List<ToolDefinition> tools) Set the tools property: The collection of tools to enable for the new assistant.CreateAndRunThreadOptions.setTools
(List<ToolDefinition> tools) Set the tools property: The overridden list of enabled tools the assistant should use to run the thread.CreateRunOptions.setTools
(List<ToolDefinition> tools) Set the tools property: The overridden list of enabled tools that the assistant should use to run the thread.UpdateAssistantOptions.setTools
(List<ToolDefinition> tools) Set the tools property: The modified collection of tools to enable for the assistant.