Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ResponseFormat.type
Members list
Type members
Classlikes
Generic JSON object mode. Maps to e.g. OpenAI response_format: { "type": "json_object" }.
Generic JSON object mode. Maps to e.g. OpenAI response_format: { "type": "json_object" }.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ResponseFormatclass Objecttrait Matchableclass AnyShow all
- Self type
-
Json.type
JSON schema constraint.
JSON schema constraint.
Value parameters
- name
-
Schema name for debugging/tracing (OpenAI requires it; max 64 chars). Default "response" for backward compatibility.
- schema
-
JSON schema as ujson value. For OpenAI, the schema is wrapped with name/strict in the provider mapping layer.
- strict
-
When true, model must follow the exact schema (OpenAI strict mode). Default true; set false for partial schema adherence. Build one with JsonSchema.apply and change it with the
with*setters; the constructor andcopyare private, so a new field never breaks callers.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ResponseFormatclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
JsonSchema.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror