Closed ichinaski closed 1 year ago
Adds minimalist PoC to generate JSON schemas on the semantic-core directory.
semantic-core
From the README:
Playground repo for the Semantic Core
python3 -m venv venv source venv/bin/activate pip install pydantic
This will output a schema.json file in the [VERSION] directory:
python3 gen_semantic_defs.py [VERSION]
Example:
python3 gen_semantic_defs.py v1
creates the v1 directory if necessary, and writes the schema.json file.
v1
Adds minimalist PoC to generate JSON schemas on the
semantic-core
directory.From the README:
semantic-core
Playground repo for the Semantic Core
Setup
Generate json schema
This will output a schema.json file in the [VERSION] directory:
Example:
creates the
v1
directory if necessary, and writes the schema.json file.