FunctionCallingSchemaConfig
class FunctionCallingSchemaConfig(respectDefaultPresence: Boolean = false, requireNullableFields: Boolean = true, useUnionTypes: Boolean = true, useNullableField: Boolean = false, val strictMode: Boolean = true) : JsonSchemaConfig(source)
Configuration for function calling schema transformers.
Extends JsonSchemaConfig with defaults optimized for LLM function calling. By default, uses strict mode settings to comply with OpenAI function calling requirements.
See also
Constructors
Properties
Link copied to clipboard
Whether to include discriminator in polymorphic schemas.
Link copied to clipboard
Whether nullable fields must be present in JSON.
Link copied to clipboard
Whether to use hasDefaultValue from introspector to determine required fields.
Link copied to clipboard
Whether to set the strict: true flag in function calling schema output.
Link copied to clipboard
Whether to emit the nullable field for nullable types.
Link copied to clipboard
Whether to use union types for nullable fields.