SchemaDefinition
org.llm4s.toolapi.SchemaDefinition
Base trait for all JSON Schema definitions used in tool parameter specifications.
Each concrete subclass corresponds to a JSON Schema type and can be converted to a ujson.Value for inclusion in OpenAI-compatible tool definitions via SchemaDefinition.toJsonSchema.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ArraySchema[A]class BooleanSchemaclass IntegerSchemaclass NullableSchema[T]class NumberSchemaclass ObjectSchema[T]class StringSchema
Members list
In this article