huggingface / hub-docs

Docs of the Hugging Face Hub
http://hf.co/docs/hub
Apache License 2.0
285 stars 245 forks source link

Update InferenceAPI docs (TGI update mostly) #1432

Closed Wauplin closed 3 weeks ago

Wauplin commented 3 weeks ago

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:

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").


PR docs:

HuggingFaceDocBuilderDev commented 3 weeks ago

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.