includeSchemaInPrompt property

  1. @TagNumber.new(1)
bool get includeSchemaInPrompt

Also render the schema into the system prompt, not just constrain decoding. Costs input tokens and invalidates the thread's prompt cache. Default true (matches Apple FoundationModels includeSchemaInPrompt).

Implementation

@$pb.TagNumber(1)
$core.bool get includeSchemaInPrompt => $_getBF(0);
  1. @TagNumber.new(1)
set includeSchemaInPrompt (bool value)

Implementation

@$pb.TagNumber(1)
set includeSchemaInPrompt($core.bool value) => $_setBool(0, value);