ChatResponseFormatJsonSchema class final
Requests structured JSON output conforming to a specific schema.
- Inheritance
-
- Object
- ChatResponseFormat
- ChatResponseFormatJsonSchema
Constructors
-
ChatResponseFormatJsonSchema({required Map<
String, dynamic> schema, String? schemaName, String? schemaDescription}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schema
→ Map<
String, dynamic> -
The JSON schema the response should conform to.
final
- schemaDescription → String?
-
An optional description of the schema.
final
- schemaName → String?
-
An optional name for the schema.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override