Blog
Booth AI
STABLE

JSON To Schema

Generates pydantic schema from example JSON.

Usage

Inputs: - example_json_string: JSON example to generate pydantic schema for - schema_name: Class Name for generated schema Outputs: - JSON string: JSON string of information extracted from the document

Inputs
Schema Name
Class Name for generated schema
Example Json String
JSON string example to generate pydantic schema for
Api Key
OpenAI API Key
Temperature
Temperature
Outputs
Value
The output string