OpenAPI to LLM schema converter.
LlmSchemaConverter converts OpenAPI JSON schemas to LLM-compatible ILlmSchema format. LLMs don't fully support JSON Schema, so this simplifies schemas by removing unsupported features (tuples, const, mixed unions).
LlmSchemaConverter
const
Main functions:
Configuration options (ILlmSchema.IConfig):
strict
Jeongho Nam - https://github.com/samchon
OpenAPI to LLM schema converter.
LlmSchemaConverterconverts OpenAPI JSON schemas to LLM-compatible ILlmSchema format. LLMs don't fully support JSON Schema, so this simplifies schemas by removing unsupported features (tuples,const, mixed unions).Main functions:
Configuration options (ILlmSchema.IConfig):
strict: OpenAI structured output mode (all properties required)Author
Jeongho Nam - https://github.com/samchon