IntegerSchema
org.llm4s.toolapi.IntegerSchema
@Stable
case class IntegerSchema(description: String, minimum: Option[Int], maximum: Option[Int], exclusiveMinimum: Option[Int], exclusiveMaximum: Option[Int], multipleOf: Option[Int]) extends SchemaDefinition[Int]
Integer schema with range and divisibility constraints.
Value parameters
- description
-
Human-readable description shown to the LLM
- exclusiveMaximum
-
Exclusive upper bound
- exclusiveMinimum
-
Exclusive lower bound
- maximum
-
Inclusive upper bound
- minimum
-
Inclusive lower bound
- multipleOf
-
Value must be a multiple of this integer
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaDefinition[Int]class Objecttrait Matchableclass Any
Members list
In this article