OpenAIStandardJsonSchemaGenerator
Extends StandardJsonSchemaGenerator to generate LLMParams.Schema.JSON.Standard in custom OpenAI format.
Inheritors
Types
Link copied to clipboard
Default instance of OpenAIStandardJsonSchemaGenerator. Prefer to use it instead of creating new instates manually.
Functions
Link copied to clipboard
open override fun generate(json: Json, name: String, serializer: KSerializer<*>, descriptionOverrides: Map<String, String>, excludedProperties: Set<String>): LLMParams.Schema.JSON.Standard
Generates LLMParams.Schema.JSON.Standard in custom OpenAI format.