ModifyAssistantRequest class

A request to modify an assistant.

Annotations
  • @immutable

Constructors

ModifyAssistantRequest({String? model, String? name, String? description, String? instructions, List<AssistantTool>? tools, ToolResources? toolResources, Map<String, String>? metadata, double? temperature, double? topP, ResponseFormat? responseFormat})
Creates a ModifyAssistantRequest.
const
ModifyAssistantRequest.fromJson(Map<String, dynamic> json)
Creates a ModifyAssistantRequest from JSON.
factory

Properties

description String?
The description of the assistant.
final
hashCode int
The hash code for this object.
no setteroverride
instructions String?
The system instructions for the assistant.
final
metadata Map<String, String>?
Custom metadata.
final
model String?
The model to use.
final
name String?
The name of the assistant.
final
responseFormat ResponseFormat?
The response format.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
temperature double?
The sampling temperature.
final
toolResources ToolResources?
Resources for the tools.
final
tools List<AssistantTool>?
The tools to enable.
final
topP double?
The nucleus sampling parameter.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override