cd scripts/api-inference
pnpm run generate
# and then commit changes
EDIT: I've slightly updated the generation script to include the type of each element in oneOf combinations. And to avoid making all elements "required" (since it's "oneOf").
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
Follow-up after https://github.com/huggingface/huggingface.js/pull/915 and https://github.com/huggingface/huggingface.js/pull/924.
Auto-generated update. Done by running:
EDIT: I've slightly updated the generation script to include the type of each element in
oneOf
combinations. And to avoid making all elements "required" (since it's "oneOf").PR docs: