API Reference LangSchema v0.7.1
View SourceModules
Defines a common behavior for adapters that convert various input types into abstract schemas or JSON schemas.
Defines the behaviour and provides a macro for creating specific schema converters.
Converts a LangSchema into a JSON schema compatible with Anthropic's Structured Outputs.
Converts a LangSchema into a JSON schema compatible with Gemini's Structured Outputs.
Converts a LangSchema into a JSON schema compatible with OpenAI's Structured Outputs.
Defines the behaviour for modules that handle JSON Schema keywords.
Defines the behaviour and common helpers for handling JSON Schema type conversion.